Skip to content
Get Client Details

Get Client Details

Get full details of a client including its secret and assigned permissions.

Endpoint

/api/v1/projects/{project_id}/clients/{client_id}

Method

GET

Path Parameters

ParameterTypeRequiredDescription
project_idstringYesUnique ID of the project
client_idstringYesUnique ID of the client

Headers

HeaderRequiredDescription
AuthorizationYesBearer access token: Bearer <access_token>

Required Permission

clients:read

Examples

curl --request GET \
  --url https://auth.roled.id/api/v1/projects/2JUSLUee46xG6iEwG8JwPc/clients/2JUV7yC7gWEuzu8BTEXoY5 \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJo...'

Error Codes

CodeHTTP StatusDescription
invalid_authorization_token401Missing or invalid authorization token
insufficient_permission403Insufficient permission
project_not_found404Project not found
client_not_found404Client not found
system_error500Internal server error