Admin API Keys
Create an Admin API Key
Create an OttoFMS Admin Api Key
This endpoint creates an Admin API Key for the FileMaker Server with the specified user and password.
Request Body
application/json
POST /otto/api/admin-api-key Request body
label?string
Default
"(no label)"user*string
pass*string
Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/admin-api-key" \ -H "Content-Type: application/json" \ -d '{ "user": "string", "pass": "string" }'{
"response": {
"key": "ak_123987"
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}