Skip to content

Delete User Document

Permanently remove a document record from a user profile. Requires ADMIN or MANAGE_PEOPLE permissions and the PEOPLE_MANAGEMENT feature flag.

Parameters

name * are required parametersdata typedescription
userId*stringThe unique identifier of the user
documentId*stringThe unique identifier of the document to delete

Return Value

json
{
  "statusCode": 201,
  "data": null,
  "message": "Successfully deleted the document"
}

Error Codes

  • 400 Bad Request: Returned when parameters are invalid.
  • 401 Unauthorized: Returned when permissions are insufficient.

Examples

bash
curl -X DELETE "https://app.wombat.software/api/{targetPath}/user/:userId/document/:documentId" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..."

ENDPOINTS

delete/api/{targetPath}/user/:userId/document/:documentId