Okta Privileged Access
//
Update a service user
- Production serverhttps://{org_name}.pam.okta.com/v1/teams/{team_name}/service_users/{user_name}
curl -i -X PUT \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/service_users/{user_name}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "DISABLED"
}'OK
A timestamp indicating when the user was deleted
The UUID of the user
If defined, indicates the OAuth client application ID tied to a service user. Only available when the user was created as part of an OAuth approval flow.
The status of the user: ACTIVE, DISABLED, or DELETED. Users can't disable or delete their own account.
Response
{ "deleted_at": null, "details": null, "id": "6b69de4e-90be-4016-9085-d54bf5815da1", "name": "A.User", "status": "DISABLED", "team_name": "william-faulkner", "user_type": "service" }