Versions Compared

Key

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

...

Excerpt

Removes a document for an account.



Span
stylewhite-space: pre

Endpoint ID:

1062
9203
Method:

Status
colourGreen
titleDELETE

URL:

/

user

entity/

dp-key

id/{entityID}/documents/{documentID}

/

user

entity/ext-key/{externalRelationID}/{externalRelationType}/documents/{documentID}


entityID

dialogportal™ master key

Rubiq entity ID that uniquely identifies

account

an account to return data for


externalRelationID

External key that uniquely identifies an account to return data for


externalRelationType

Type of external key


documentIDThe ID of the document to be
retrieved
deleted
Request body:None
Spanstylewhite-space:pre


Response body:

None

Status codes:204

Document removed with success


404

Account was not found, or the document was not found for the account.

The following sub codes may be returned:

404.1User not found
404.2External user could not be found