Create a super-admin
Add a person to the super-admins table. Only existing super-admins can create new super-admins. The person must already exist in the system.
Header Parameters
- SlashID-OrgID string required
The organization ID
Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
- application/json
Request Body required
Super-admin creation request
- person_id string required
Person ID
Responses
- 201
- 400
- 403
- 409
Super-admin created successfully
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage stringresult object
person object
entity_class stringPossible values: [
unknown,identity,credential,policy,resource,application,canonical_application,sensor]entity_id stringidentifier stringcreated_at date-timeTimestamp when super-admin was created
created_by object
entity_class stringPossible values: [
unknown,identity,credential,policy,resource,application,canonical_application,sensor]entity_id stringidentifier string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
],
"result": {
"person": {
"entity_class": "unknown",
"entity_id": "string",
"identifier": "string"
},
"created_at": "2005-12-24T18:29:30.033157Z",
"created_by": {
"entity_class": "unknown",
"entity_id": "string",
"identifier": "string"
}
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}