OAuth Tokens

Update a OAuth Token

patch/api/mcp-oauth-tokens/{id}

Request

  • Base URL: https://hellosafe.com
  • URL: https://hellosafe.com/api/mcp-oauth-tokens/{id}
  • Auth: OAuth 2 (password, token URL /api//openapi-auth)

Request body

labelstring nullable

Client name at grant time.

accessTokenHashstring
refreshTokenHashstring
clientstring

ID of the mcp-oauth-clients

userstring

ID of the users

scopestring nullable
familyIdstring

Rotation family: refresh-token reuse revokes every token in the family.

accessExpiresAtstring
refreshExpiresAtstring
revokedAtstring nullable
lastUsedAtstring nullable

Response

OAuth Token object

idstring required
labelstring nullable

Client name at grant time.

accessTokenHashstring required
refreshTokenHashstring required
scopestring nullable
familyIdstring required

Rotation family: refresh-token reuse revokes every token in the family.

accessExpiresAtstring required
refreshExpiresAtstring required
revokedAtstring nullable
lastUsedAtstring nullable
updatedAtstring required
createdAtstring required

Changes

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