Categories
Replaces one or more existing categories
Changed onEvery field of each category is replaced with the value in the body: key, name, imageUrl and properties. A field that is left out is cleared. For example, a body without imageUrl removes the category's image, and a body without properties removes every translated field of the category.
id, key and name are required. icon is ignored.
To change one field, read the category with GET /{apiKey}/api/categories, change only that field, and send the whole category back.
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
put/{apiKey}/api/categories
Request
- Base URLhttps://integration.mapsindoors.com (the document declares no server; this is the origin it was published from)
- URLhttps://integration.mapsindoors.com/{apiKey}/api/categories
- AuthOAuth 2Authorization code: https://auth.mapsindoors.com/connect/authorizeToken URL: https://auth.mapsindoors.com/connect/token scopes: integration
Path parameters
apiKeystring required
The API Key to use
Request body
Response
OK
Changes
- info
the security scope
integrationwas added to the endpoint's security schemeaccount - info
the security scope
accountwas removed from the endpoint's security schemeaccount - info
added the non-success response with the status
- info