Creates an organization unit
POST/organization-units
Creates an organization unit
Request
- application/json
Body
required
The organization unit to create
- UuidOrReference
- NullableObject
parent_id
object
oneOf
string
object
Responses
- 201
- 202
- 401
- 403
- 404
- 422
- 429
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
- UuidOrReference
- NullableObject
parent_id
object
oneOf
string
object
{
  "id": "string",
  "reference": "string",
  "name": "string",
  "internal_name": "string",
  "parent_id": "string",
  "created_at": "2024-07-29T15:51:28.071Z",
  "updated_at": "2024-07-29T15:51:28.071Z",
  "deleted_at": "2024-07-29T15:51:28.071Z"
}
Accepted
Unauthenticated
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Unauthorized
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Not found
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Unprocessable Entity
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Too Many Requests
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Unknown error
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}