Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Use /entity routing instead of /user


Excerpt

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



  
Endpoint ID:1004 
Method:
Status
colourGreen
titleDELETE
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


Span
stylewhite-space:pre
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