v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBDocument favorites
Unfavorite document
Remove a document from a user's favorites. Only published documents can be unfavorited.
Note: Successful requests will return 204 regardless of whether the document was previously favorited or not.
delete/v1/documents/{documentId}/favorite
Path parameters
documentIdstring required
The document identifier
Query parameters
userIdstring
Requires an Organization API key. Membership ID of the user to unfavorite the document on behalf of.
Personal Access Tokens (PATs) cannot use this parameter to act on behalf of other users.
Response
Document unfavorited successfully. No response body.
This response is returned whether the document was previously favorited or not.