Get a customer client
Learn about retrieving a single client using the client ID.
Use this API to retrieve a single client using the client ID.
- ROLE_ADMIN_CUSTOMER
- Auth.Customer.Clients READ
Request
GET https://auth.reltio.com/oauth/customers/{customerId}/clients/{clientId}
Name | Required | Description | |
---|---|---|---|
Headers | Authorization | Yes | Information about the authentication access token should be in the format: "Bearer {accessToken}". For more information, see topic Authentication API. |
URL Parameters | customerId
| Yes | A valid Customer ID. |
clientId
| Yes | A valid Client ID. |
Response
The response body contains the client ID mentioned in the parameters.Example
RequestGET https://auth.reltio.com/oauth/customers/ABC/clients/test_client
Headers: Authorization: Bearer {Access-Token}
Response
{
"clientId": "test_client",
"scope":[],
"clientPermissions":
{
"roles":{
"ROLE_ADMIN_TENANT": ["tenant1"],
"ROLE_API": ["tenant1"]
}
},
"authorities": [],
"resourceIds": [],
"authorizedGrantTypes": [
"client_credentials"
],
"clientDescription": null,
"clientName": null,
"clientEmail": null,
"redirectUri": [
"http://localhost"
],
"accessTokenValidity": null,
"refreshTokenValidity": null,
"defaultRolesAssignmentEnabled": false,
"clientAuthenticationMethods": [
"client_secret_post",
"client_secret_basic"
],
"enabled" : true
}