Update a person account details
PUT /api/v1/PersonAccounts/update
Description
This endpoint is used to update the details of a person account.
Tags:
PersonAccounts
URL:
/api/v{version}/PersonAccounts/update
ApiKey:
No API key required
Content-Type:
-
application/json
-
text/json
-
application/*+json
Query Parameters:
None
Path Parameters:
None
Request Body:
-
content:
-
application/json
-
text/json
-
application/*+json
-
Response:
Success, returns a string response.
Error Codes:
- 400: Bad Request
Example:
/api/v1/PersonAccounts/update
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Body (raw)
{
"id": `<uuid>`,
"personId": `<uuid>`,
"lockingStatus": 3,
"lockReason": `<string>`,
"comment": `<string>`
}
Response: 200
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
Response: 400
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/PersonAccounts/update \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!