Update My M2M Account
PUT/v2/account/me/m2m-credentials
Patch my M2M client secret or description.Requires accountOrg:config:edit or account:config:edit permissions
Request
Query Parameters
rotate_secret Rotate Secret
- application/json
Body
client_secret Client Secret (string)
Client secret for this account
description Description (string)
Description for this account
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
account_id uuidrequired
The client ID
client_secret Client Secret (string)required
The client secret for the M2M Account
description Description (string)
A description of the M2M Account
org_id uuid
The Org ID the M2M Account belongs to
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"client_secret": "string",
"description": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...