Activate Service Account

PUT /auth/service-accounts/{serviceAccountId}/activate

Activate a specific service account

Required Permissions

NameConditions

Auth:Apps:Update

Always Required

Auth:Types:ServiceAccount

Always Required

Parameters

serviceAccountId *

the ID of the service account to update

Example

/auth/service-accounts/us-em7bu-m6c48-hdqoobj7dj25pko/activate

Responses

Success - The service account that was updated

{
  "userInfo": {
    "username": "My New Name",
    "userId": "us-2q55i-g68v6-9etoie66crbdsh7k",
    "kind": "CustomerEmployee",
    "credentialUuid": "cr-4uc9u-12ij1-9s08327e73jqqcnr",
    "orgId": "or-yanke-mars-6ulofamogg84s87v",
    "permissions": [],
    "scopes": [],
    "isActive": true,
    "isServiceAccount": true,
    "isRegistered": true,
    "permissionAssignments": []
  },
  "accessTokens": []
}

Last updated