Promote to Admin

The Promote to Admin endpoint allows you to elevate an existing user to manager (admin) status, granting them additional permissions in Connecteam.

Endpoint

POST /users/v1/admins

Request Body

FieldTypeRequiredDescription
userIdintegerYesThe ID of the user to promote
emailstringYesEmail address for the admin invitation
titlestringNoJob title for the admin

Request Example

{
  "userId": 7031021,
  "email": "[email protected]",
  "title": "Team Manager"
}

Success Response (200)

{
  "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "data": {
    "success": true,
    "userId": 7031021
  }
}

What Happens When a User is Promoted

  1. User's email is updated to the specified address
  2. User receives manager/admin permissions
  3. An invitation email is sent to the specified email address
  4. User type changes from user to admin

Error Responses

StatusErrorDescription
400User not foundThe specified userId does not exist
400User already managerThe user already has admin permissions
400Duplicate emailThis email is already in use by another admin
403Email is blacklistedThe email address is on the blacklist
📝

Note

To demote an admin back to a regular user, use the Update Users endpoint with the appropriate userType.

Promote to Admin API reference