Skip to content

Update a Client

Request

Admin roles:
  • access_admin

Updates the state or assigned user for a specified Client. This is required for some enrollment policies. See Silently enroll the Client.

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

client_idstringrequired

The UUID of the Client

Bodyapplication/jsonrequired
statestring or null, <= 255 characters

The state of the Client: ACTIVE, PENDING, or DELETED

user_namestring or null, <= 255 characters

The User associated with the Client

curl -i -X PUT \
  'https://app.scaleft.com/v1/teams/{team_name}/clients/{client_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "state": "ACTIVE",
    "user_name": "Jason.Compson.IV"
  }'

Responses

No Content