1004: Remove account

Deletes an entity/account. The calling application must have permission to delete accounts.


Endpoint ID:1004
Method:DELETE
URL:

/entity/id/{entity-id}/{contract-id}

/entity/ext-key/{ext-key}/{ext-type}/{contract-id}



 entity-id

Rubiq entity ID that uniquely identifies an account to remove


 ext-key

External key that uniquely identifies an account to remove


 ext-type

Type of external key


 contract-id

Identifies the type of account to remove. If omitted, the

default contract for the particular app is used

Request body:None


Response body:

None
Status codes:

204

Account was removed successfully

404Account was not found

The following sub codes may be returned:

404.1User not found
404.2External user could not be found

412App has no permission to remove accounts