Persist consent as a tenant, subject, client, audience and scope-bound OAuth grant.

post/v1/oauth-grants

Request

  • Base URL: http://127.0.0.1:8080
  • URL: http://127.0.0.1:8080/v1/oauth-grants
  • Auth: HTTP bearer

Headers

X-Likerts-Workspacestring

Required for human OAuth access; service credentials are already workspace-bound.

Request body

subjectstring required
clientIdstring required
scopesOAuthScope[] required
expiresAtstring date-time required

Response

Grant created.

idstring uuid required
workspaceIdstring required
subjectstring required
clientIdstring required
audiencestring required
scopesOAuthScope[] required
expiresAtstring date-time required
revokedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.