Validate/invalidate API key for current user's organization. If user is super admin, parameter apiKey can be provided to specify organization for which the key should be adjusted (ignored otherwise). User is not allowed to invalidate last valid key of the belonging organization. Super admin user can invalidate last valid keys of other organizations (effectively revoking their access to the application).
API reference, Onboarding
Update
PUT
https://demo-api.incodesmile.com/omni/api-keyHeaders
Request body
application/json
Key validity.
Key name.
Organization reference.
Responses
Response body (application/json)
Key name.
Key value, sha1(clientId).
Key clientId, name + random 3 digits.
Key validity.
Key creation timestamp.
Key adjustment timestamp.
Response body (application/json)
UTC timestamp in milliseconds
Custom error code or HTTP status code
HTTP status error
Custom error message
Endpoint path
Custom error details