OAuth applications

Update a Team website

Changed on

Replaces a website's name, callbacks and enabled state at a known revision.

patch/oauth-applications/{clientId}

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

clientId, string required

Immutable OAuth client identifier.

Request body

object required

Full replacement of a Team website's settings.

teamId, string required

Unique team identifier

revision, integer required

Optimistic concurrency token. Send the value you read.

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

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

      the redirectUris request property's minItems was increased to 1

    • breaking

      the name request property's minLength was increased from 0 to 1

    9 more changes in this revision