Create a new user-manager relationship​
Create a new user-manager relationship
- application/json
Request Body required
user_manager object
user_id uuidThe user id
manager_id uuidthe manager id
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
user_manager object
id uuidthe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
user_id uuidthe user id
manager_id uuidthe manager id
{
"user_manager": {
"id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"uid": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"user_id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"manager_id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"
}
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- error
- error
- errors
oneOf
{
"error": "Invalid JSON syntax. Please check your syntax and try again."
}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
- error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...