APIOrgsUpdate a member of your org

Parameters

Name

Type

Req.

  • user_id

    string / UUID
    required
  • bodyapplication/json

    object
    optional
    Object Properties
    • role

      string
      optional
      Possible values
      • admin:  Admins can do anything in the org.
      • member:  Members of an org can not modify an org, but they belong in the org.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • company

      string
      optional
    • created_at

      string / ISO-8601
      optional
    • discord

      string
      optional
    • email

      string / Email Address
      optional
    • email_verified

      string / ISO-8601
      optional
    • first_name

      string
      optional
    • github

      string
      optional
    • id

      string / UUID
      optional
    • image

      string / URL
      optional
    • last_name

      string
      optional
    • name

      string
      optional
    • phone

      string / Phone Number
      optional
    • role

      string
      optional
      Possible values
      • admin:  Admins can do anything in the org.
      • member:  Members of an org can not modify an org, but they belong in the org.
      • service_account:  A service account role.
    • updated_at

      string / ISO-8601
      optional
put
/org/members/{user_id}
$ curl -X PUT "https://api.zoo.dev/org/members/{user_id}" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "role": "admin"
}'
200 OK
Response
{
  "company": "sOa2mOciqgIrfLD7QyzWPhW",
  "created_at": "2025-05-22T02:03:47.218Z",
  "discord": "MVDFSP9PopBze",
  "email": "p@smG3c.com",
  "email_verified": "2025-05-22T02:03:47.218Z",
  "first_name": "ZqQHwqHXBSR7MA",
  "github": "GLU0mE3KvwF3kkP5rA4O6pM",
  "id": "3140cda7-efd5-4ca9-b680-75afd6588ec9",
  "image": "https://DpCCT1sA.xmPKIm.com/Z4Qlkh/JsJbrDS",
  "last_name": "cH9QgJO93B5LdFKRlvfwUdenQszTHC",
  "name": "ZRk",
  "phone": "+1-816-770-7353",
  "role": "service_account",
  "updated_at": "2025-05-22T02:03:47.218Z"
}