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
  • Auth
    API key in header x-tenant-id

Path parameters

clientId, string required

Immutable OAuth client identifier.

credentialId, string required

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

Request body

object required

Revocation request for one website credential.

teamId, string required

Unique team identifier

revision, integer required

Optimistic concurrency token. Send the value you read.

Response

OK

object required

A Team-owned website login application. Credential secrets are never included.

clientId, string required

Immutable OAuth client identifier.

teamId, string required

Unique team identifier

tenantId, string required

Tenant this application belongs to.

name, string required

Operator-facing name for this website.

redirectUris, string[] required

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

enabled, boolean required

Disabled applications stop authenticating immediately.

revision, integer required

Optimistic concurrency token. Send the value you read.

credentials, object[] required

Changes

    • breaking

      for the path request parameter clientId, the minLength was increased from 0 to 1

    • breaking

      for the path request parameter credentialId, the minLength was increased from 0 to 1

    • breaking

      added the pattern ^tem_[0-9a-z]{26}$ to the request property teamId

    5 more changes in this revision