OauthToken

Update Oauth Token

Changed on

Used to update information about an Oauth Token

patch/oauth/{id}

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/oauth/{id}
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

idstring required

The ID of the Oauth Token to update

Headers

If-Matchstring

If-Match header according to http/1.1 spec section 14.24

Request body

idstring

The ID of the Oauth Token

created_timeinteger

Time at which the organization Oauth Token was created

created_by_idstring

The ID of the user who created this OAuth token

last_updated_timeinteger

Time at which the organization Oauth Token was last updated

last_updated_by_idstring

The ID of the user who last updated this OAuth token

organization_idstring

The ID of the organization associated with this Oauth Token

token_type'segment' | 'slack' | 'jira' | 'azure_boards'

Type of token

namestring

Friendly name for this Oauth Token

access_tokenstring

The Oauth Token value

scopestring

The Oauth Token scope

refresh_tokenstring

The refresh token value

expires_ininteger

The Oauth Token expiration value

raw_responsestring

The raw access token result from the issuer

Response

The updated Oauth Token

idstring

The ID of the Oauth Token

created_timeinteger

Time at which the organization Oauth Token was created

created_by_idstring

The ID of the user who created this OAuth token

last_updated_timeinteger

Time at which the organization Oauth Token was last updated

last_updated_by_idstring

The ID of the user who last updated this OAuth token

organization_idstring

The ID of the organization associated with this Oauth Token

token_type'segment' | 'slack' | 'jira' | 'azure_boards'

Type of token

namestring

Friendly name for this Oauth Token

access_tokenstring

The Oauth Token value

scopestring

The Oauth Token scope

refresh_tokenstring

The refresh token value

expires_ininteger

The Oauth Token expiration value

raw_responsestring

The raw access token result from the issuer

Changes

    • warning

      added the new azure_boards enum value to the response property for the response status

    • info

      added the new azure_boards enum value to the request property