Update Account
PUT/v2/account/:account_id
Update an account by account ID.Requires accountOrg:config:edit or account:config:edit permissions and for user to share an org with the account
Request
Path Parameters
account_id uuidrequired
Account ID
- application/json
Body
required
name Name (string)
Name for this account
avatar Avatar (string)
Avatar for this account
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
name Name (string)
User name
avatar Avatar (string)
Avatar for this account
description Description (string)
Description for this account
org_id uuid
Organization ID for this account
account_id uuidrequired
Account ID
account_email email
Email address for this account
last_ip Last Ip (string)
Last IP address for this account login
last_login Last Login (string)
Last login time for this account
{
"name": "string",
"avatar": "string",
"description": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_email": "user@example.com",
"last_ip": "string",
"last_login": "string"
}
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...