Disable device
Request
ENDPOINT
/account/ACCOUNT_KEY/device/DEVICE_KEY/disableMETHOD
DELETEPath Params
| Field | Type | Description | Characters |
|---|---|---|---|
account_key | uuidv4 | Unique account identification key. | 36 |
device_key | uuidv4 | Unique device identification key. | 36 |
Response
STATUS
200Response Body: Device disabled
{
"device_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"device_status": "disabled",
"created_at": "2024-12-22T20:30:23.459Z"
}
Response Body Params
| Field | Type | Description | Characters |
|---|---|---|---|
device_key * | uuidv4 | Unique device identification key in uuid v4 format | 36 |
device_status * | string | Device status | device_status Enumerators |
created_at * | string | Device creation date in ISO format (UTC - "YYYY-MM-DDTHH:MM:SSZ") | 20 |
device_status Enumerators
| Enumerator | Description |
|---|---|
| active | Device active and available for use |
| disabled | Device disabled |
| pending | Device pending approval |
STATUS
4xxResponse Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Codestatus | QI Codecode | Titletitle | Description (eng)description | Description (ptbr)translation |
|---|---|---|---|---|
| 400 | QIT000001 | Bad Request | Schema Error | Erro de Schema |
| 404 | OBD000002 | Not Found | Bank account not found | Conta não encontrada |
| 400 | OBD000088 | Bad Request | Account blocked or closed can not perform this action | A conta bloqueada ou fechada não pode executar esta ação |
| 400 | OBD000089 | Bad Request | Hub account can not perform this action | A conta hub não pode executar esta ação |
| 404 | OBD000100 | Device not found | No device is associated with the provided device_key. | Nenhum dispositivo está associado à device_key fornecida. |