Organization
The Organization API helps you acquire information from your organizations, and your client credentials.
CRUD Methods
A valid name of organization
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /organizations/{name} HTTP/1.1
Host:
Accept: */*
{
"uuid": "text",
"name": "text"
}
Client Credentials Managing
A valid uuid of organization
DTO with client credentials data
Client id of client credential
Name of client credential
Description of the client credential
Ok
Badrequest
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
POST /org/{orgUUID}/client-credentials HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"clientId": "text",
"name": "text",
"description": "text"
}
{
"id": "text",
"name": "text",
"clientId": "text",
"secret": "text"
}
Lists the client credentials created in the keycloak. When passing an optional clientId Query String, the client credential list will be filtered to match the provided clientId.
A valid uuid of organization
to fetch a particular client credential
""
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /org/{orgUUID}/client-credentials HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"clientId": "text",
"name": "text",
"description": "text",
"enabled": true,
"redirectUris": [
"text"
]
}
]
A valid uuid of organization
A valid id of client credentials
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /org/{orgUUID}/client-credentials/{id} HTTP/1.1
Host:
Accept: */*
{
"id": "text",
"clientId": "text",
"name": "text",
"description": "text",
"enabled": true,
"redirectUris": [
"text"
]
}
Generates a new secret for the provided client credentials, immediately revoking the previous secret key.
A valid uuid of organization
A valid id of client credentials
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
PUT /org/{orgUUID}/client-credentials/{id}/regenerate-secret HTTP/1.1
Host:
Accept: */*
{
"type": "text",
"value": "text"
}
Immediately alternates whether a client credencial key is enabled or not. The current status can be acquired by the Details endpoint.
A valid uuid of organization
A valid id of client credentials
Ok
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
PUT /org/{orgUUID}/client-credentials/{id}/enable-disable HTTP/1.1
Host:
Accept: */*
No content
Last updated
Was this helpful?