Retrieves a list of organization units
GET/organization-units
Retrieves a list of organization units
Request
Query Parameters
Organization unit filter
Possible values: >= 1 and <= 100
Default value: 10
The maximum number of organization units to return
The cursor to use to retrieve the next page of organization units
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- UuidOrReference
- NullableObject
- ] 
organizationUnits
object[]
The list of organization units
parent_id
object
oneOf
string
object
cursor
object
cursor
Pagination link|cursor pointing to the current page.
Pagination link|cursor pointing to the first page.
Pagination link|cursor pointing to the previous page.
Pagination link|cursor pointing to the next page.
Pagination link|cursor pointing to the last page.
{
  "organizationUnits": [
    {
      "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"
    }
  ],
  "cursor": {
    "self": "string",
    "first": "string",
    "prev": "string",
    "next": "string",
    "last": "string"
  }
}
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"
}