Pular para o conteúdo principal

Deleção de uma entidade Alias

Deleção de uma entidade Alias, já cadastrada para uma conta account existente.

Request

ENDPOINT
/account/ACCOUNT_KEY/alias/ALIAS_KEY
MÉTODO
DELETE

Path Params

CampoTipoDescriçãoCaracteres
account_keyuuidv4Chave única da conta.36
alias_keyuuidv4Chave única do alias.36

Response

STATUS
200
Response Body
{}
STATUS
404
Response Body: Not Found

{
"data": "{\"title\": \"Not Found\", \"description\": \"Account not found for the given key \{account_key\}\", \"translation\": \"A account_key \{account_key\} não foi encontrada\", \"extra_fields\": {}, \"code\": \"ACC000006\"}",
"title": "Not Found",
"description": "Account not found for the given key \{account_key\}",
"translation": "A account_key \{account_key\} não foi encontrada",
"extra_fields": {},
"code": "ACC000006"
}
STATUS
404
Response Body: Not found

{
"data": "{\"title\": \"Not found\", \"description\": \"Alias \{alias_key\} not found\", \"translation\": \"Alias \{alias_key\} n\u00e3o encontrado\", \"extra_fields\": {}, \"code\": \"ACC000181\"}",
"title": "Not found",
"description": "Alias \{alias_key\} not found",
"translation": "Alias \{alias_key\} n\u00e3o encontrado",
"extra_fields": {},
"code": "ACC000181"
}
STATUS
400
Response Body: Alias Key Dont Match with Account Key

{
"data": "{\"title\": \"Alias Key Dont Match with Account Key\", \"description\": \"The alias_key \{alias_key\} Dont Match with the account_key \{account_key\}\", \"translation\": \"AA alias_key \{alias_key\} não combina com a account_key \{account_key\}\", \"extra_fields\": {}, \"code\": \"ACC000181\"}",
"title": "Alias Key Dont Match with Account Key",
"description": "The alias_key \{alias_key\} Dont Match with the account_key \{account_key\}",
"translation": "A alias_key \{alias_key\} não combina com a account_key \{account_key\}",
"extra_fields": {},
"code": "ACC000181"
}