OAuth applications

Revoke a website credential

Changed on

Revokes one credential. Revoking a credential that is already gone succeeds without changing the application, and the last credential of an enabled application cannot be revoked.

delete/oauth-applications/{clientId}/credentials/{credentialId}

Request

  • Base URL: https://api.session.services
  • URL: https://api.session.services/oauth-applications/{clientId}/credentials/{credentialId}
  • Auth: API key in header x-tenant-id

Path parameters

clientIdstring required

Immutable OAuth client identifier.

credentialIdstring required

Credential to revoke. Revoking a credential that is already gone succeeds unchanged.

Request body

teamIdstring required

Unique team identifier

revisioninteger required

Optimistic concurrency token. Send the value you read.

Response

OK

clientIdstring required

Immutable OAuth client identifier.

teamIdstring required

Unique team identifier

tenantIdstring required

Tenant this application belongs to.

namestring required

Operator-facing name for this website.

redirectUrisstring[] required

Exact HTTPS callback URLs. HTTP is allowed only for non-production loopback.

enabledboolean required

Disabled applications stop authenticating immediately.

revisioninteger required

Optimistic concurrency token. Send the value you read.

Changes