1004: Remove account

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

 

 

None

 

Status codes:

204

Account was removed successfully

 

404

Account was not found

The following sub codes may be returned:

404.1

User not found

404.2

External user could not be found

 

412

App has no permission to remove accounts