Skip to main content

Disable device

Request

ENDPOINT
/account/ACCOUNT_KEY/device/DEVICE_KEY/disable
METHOD
DELETE

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key.36
device_keyuuidv4Unique device identification key.36

Response

STATUS
200
Response Body: Device disabled
{
"device_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"device_status": "disabled",
"created_at": "2024-12-22T20:30:23.459Z"
}

Response Body Params

FieldTypeDescriptionCharacters
device_key *uuidv4Unique device identification key in uuid v4 format36
device_status *stringDevice statusdevice_status Enumerators
created_at *stringDevice creation date in ISO format (UTC - "YYYY-MM-DDTHH:MM:SSZ")20

device_status Enumerators

EnumeratorDescription
activeDevice active and available for use
disabledDevice disabled
pendingDevice pending approval
STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (ptbr)
translation
400QIT000001Bad RequestSchema ErrorErro de Schema
404OBD000002Not FoundBank account not foundConta não encontrada
400OBD000088Bad RequestAccount blocked or closed can not perform this actionA conta bloqueada ou fechada não pode executar esta ação
400OBD000089Bad RequestHub account can not perform this actionA conta hub não pode executar esta ação
404OBD000100Device not foundNo device is associated with the provided device_key.Nenhum dispositivo está associado à device_key fornecida.