Create multiple new user-manager relationships​
Create multiple new user-manager relationships
- application/json
Request Body required
user_managers 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
- MOD1
- MOD2
- info string
info about the job
job_status object
the status of the job
job_id stringthe job id
status stringthe status
- status int32
the status
user_managers object[]
id uuidthe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
user_id uuidthe user id
manager_id uuidthe manager id
oneOf
{
"info": "job has started",
"job_status": {
"job_id": "3ce88e47ad6dba2ddf349d21",
"status": "queued"
},
"status": 200
}
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...