Skip to content

Retrieve a Service User

Request

Admin roles:
  • access_admin

Retrieve a specified Service User

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

user_namestringrequired

The relevant username

curl -i -X GET \
  'https://app.scaleft.com/v1/teams/{team_name}/service_users/{user_name}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
deleted_atstring, (date-time)read-onlyrequired

A timestamp indicating when the User was deleted

detailsobject or null

The details of the User

idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of the User

namestring, [ 1 .. 255 ] charactersrequired

The username of the User

oauth_client_application_idstring or null, [ 1 .. 255 ] charactersread-onlyrequired

If present, 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.

role_grantsArray of stringsread-onlyrequired

The permission roles available to the User

statusstringrequired

The status of the User: ACTIVE, DISABLED, or DELETED. Users can't disable or delete their own account.

user_typestring, [ 1 .. 255 ] charactersread-onlyrequired

The type of User. Possible values: service or human.

Response
{ "deleted_at": null, "details": null, "id": "6b69de4e-90be-4016-9085-d54bf5815da1", "name": "dilsey.gibson", "status": "ACTIVE", "team_name": "william-faulkner", "user_type": "service" }