GET https://:subdomain.cobot.me/api/admins

Returns a list of admins of the space.

Authentication required
yes, additionally user must be a space admin
Scope required
read_admins
GET https://co-up.cobot.me/api/admins

Response:

[
  {
    "name": "joe",
    "email": "joe@doe.com"
  }
]
GET https://:subdomain.cobot.me/api/admins/:id

Returns a single admin of the space.

Authentication required
yes, additionally user must be a space admin
Scope required
read_admins
GET https://co-up.cobot.me/api/admins/dce8ca410400c427cb4a3262e6874c9f

Response:

{
  "name": "joe",
  "email": "joe@doe.com"
}
PUT https://:subdomain.cobot.me/api/admins/:id

Updates admin. Only the name can be changed.

Authentication required
yes, additionally user must be a space admin
Scope required
write_space_admins
PUT https://co-up.cobot.me/api/admins/dce8ca410400c427cb4a3262e6874c9f

Body:

{
  "name": "joseph"
}

Response:

{
  "name": "joseph",
  "email": "joe@doe.com"
}

back to index