unfreeze an account
POST/api/v1/Accounts/unfreeze
Description
This endpoint allows you to unfreeze an account based on a request.
Request
-
Path parameter:
- version: API version (string)
-
Headers:
- Accept-Language: Change default response message language from English(en). Available languages fr,en
-
Request body:
- FreezeOrUnFreezeRequest: Represents the request to unfreeze an account (object)
Responses
-
200: Success. Returns a StringResponse.
-
400: Bad Request. The request is not valid.
Examples
Request
httpCopy codePOST /api/v{version}/Accounts/unfreeze HTTP/1.1
Host: example.com
Accept-Language: en
Content-Type: application/json
{
"accountId": "1234"
}
Response
httpCopy codeHTTP/1.1 200 OK
{
"message": "Account unfrozen successfully."
}
Error Response
httpCopy codeHTTP/1.1 400 Bad Request
{
"message": "Invalid account ID."
}
/api/v`{{version}}`/Accounts/unfreeze
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Body (raw)
{
"accountId": `<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 POST \
--url /api/v1/Accounts/unfreeze \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!