Skip to main content

Deletion of an Alias Entity

Deletion of an Alias entity that is already registered to an existing account.

Request

ENDPOINT
/account/ACCOUNT_KEY/alias/ALIAS_KEY
METHOD
DELETE

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account key.36
alias_keyuuidv4Unique alias key.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 Don't 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"
}