Add a Organisation to a Category
PUT/v1/categories/:categoryId/:organisationId
Add a Organisation to a Category
Request​
Path Parameters
categoryId stringrequired
Id of the Category
organisationId stringrequired
Id of the organisation
Responses​
- 200
- 400
- 401
- 403
- 404
Successfully add an Organisation to a Category
Error validating inputs
- application/json
- Schema
- Example (from schema)
Schema
error
object
code string
Example:
bad_request
title string
Example:
Bad request
message string
Example:
One or more of the inputs were invalid
reasons string[]
{
"error": {
"code": "bad_request",
"title": "Bad request",
"message": "One or more of the inputs were invalid",
"reasons": [
"pageSize must be greater than or equal to 0"
]
}
}
Unauthorized
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error
object
code string
Example:
forbidden
title string
Example:
Forbidden
message string
Example:
Access is denied due to insufficient privileges
{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to insufficient privileges"
}
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
error
object
code string
Example:
not_found
title string
Example:
Resource not found
message string
Example:
This endpoint is unavailable or can not be found
{
"error": {
"code": "not_found",
"title": "Resource not found",
"message": "This endpoint is unavailable or can not be found"
}
}
Loading...