v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
manage

Promote members to ADMIN role in a TEAM_API or ENTERPRISE_API organization

post/manage/api/organization/promote_admins

Query parameters

organization_idstring required

Base64 encoded organization ID. Must be a TEAM_API or ENTERPRISE_API workspace.

Request body

Example request

{
  "members": [
    {
      "display_handle": "john_doe",
      "email_address": "john.doe@example.com",
      "user_id": "dXNlcl8xMjM"
    },
    {
      "display_handle": "john_doe",
      "email_address": "john.doe@example.com",
      "user_id": "dXNlcl8xMjM"
    }
  ]
}

Response

Results of promoting members to admin

Example response

{
  "results": [
    {
      "success": true,
      "message": "message"
    },
    {
      "success": true,
      "message": "message"
    }
  ]
}