/local-user-store/api/v1/api-clients
Get all API clients.
offset
int
Collection query offset
limit
int
Maximum number of collection items to return
sortkey
string
Sort by specific object property
sortdir
string
Sort direction, asc or desc
Successful response, returns an array of API clients, returns an empty array if no API clients defined
{
"count": 123,
"items": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret": "string",
"name": "string",
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"updated_by": "eef4aefc-d64e-4c2c-aba4-4914c86ce059",
"author": "eef4aefc-d64e-4c2c-aba4-4914c86ce059",
"roles": [
{
"id": "string",
"name": "string",
"deleted": true
}
],
"oauth_client_id": "string",
"oauth_client_secret": "string"
}
]
}
/local-user-store/api/v1/api-clients
Create a new API client. ID, client_secret, author, created, updated, and updated_by fields are automatically populated by the server.
name
string
required
roles
array
List of roles possessed by the API client
id
string
required
Role ID
name
string
Role name, ignored by server in requests.
{
"name": "string",
"roles": [
{
"id": "string",
"name": "string"
}
]
}
API client successfully created
{
"id": "5bf77342-221c-11ee-be56-0242ac120002"
}
/local-user-store/api/v1/api-clients/search
Find API clients.
keywords
string
Comma or space-separated strings to search in apiclients' names.
{
"keywords": "string"
}
Successful response, returns an array of API clients, returns an empty array if no API clients defined
{
"count": 123,
"items": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret": "string",
"name": "string",
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"updated_by": "eef4aefc-d64e-4c2c-aba4-4914c86ce059",
"author": "eef4aefc-d64e-4c2c-aba4-4914c86ce059",
"roles": [
{
"id": "string",
"name": "string",
"deleted": true
}
],
"oauth_client_id": "string",
"oauth_client_secret": "string"
}
]
}
/local-user-store/api/v1/api-clients/{api_client_id}
Get an API client by ID.
api_client_id
string
required
API client ID
Successful response, returns a trusted client if found
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"secret": "string",
"name": "string",
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"updated_by": "eef4aefc-d64e-4c2c-aba4-4914c86ce059",
"author": "eef4aefc-d64e-4c2c-aba4-4914c86ce059",
"roles": [
{
"id": "string",
"name": "string",
"deleted": true
}
],
"oauth_client_id": "string",
"oauth_client_secret": "string"
}
/local-user-store/api/v1/api-clients/{api_client_id}
Update an API client by ID.
name
string
required
roles
array
List of roles possessed by the API client
id
string
required
Role ID
name
string
Role name, ignored by server in requests.
{
"name": "string",
"roles": [
{
"id": "string",
"name": "string"
}
]
}
Trusted client successfully updated
Empty response
/local-user-store/api/v1/api-clients/{api_client_id}
Delete an API client by ID.
api_client_id
string
required
API client ID
API client successfully deleted
Empty response
Was this page helpful?