Skip to content

Update M2M Account

PATCH
/v1/account/{account_id}/m2m-credentials

Update an account’s M2M client secret or description, requires globalAdmin:: permissions, accountOrg:config:edit or account:config:edit permissions for matching organization. If rotate_secret is set to true, a new client secret will be generated.

Authorizations

Parameters

Path Parameters

account_id
required

Account ID

string format: uuid

Account ID

Query Parameters

rotate_secret
boolean

Request Body

object
client_secret

Client secret for this account

string
description

Description for this account

string

Responses

200

Successful Response

object
account_id
required

The client ID

string format: uuid
client_secret
required

The client secret for the M2M Account

string
description

A description of the M2M Account

string
org_id

The Org ID the M2M Account belongs to

string format: uuid

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string