Get Org Structure
GET/v1/org-structure/:org_identifier
Get an organization structure by ID or short name, requires org:config:view or org:config:edit permissions on the organization
Request
Path Parameters
org_identifier anyrequired
Organization ID or short name
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
level uuidrequired
Level ID
level_type Level Type (string)
Level Type
level_name Level Name (string)
Level Name
[
{
"level": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"level_type": "string",
"level_name": "string"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...