Memos unofficial
DELETE/api/v1/memos/{memo}/shares/{share}

Delete a memo share link

Deletes a share link and revokes its read-only access to a memo. The authenticated user must be the memo creator or an instance administrator, and the share must belong to the specified memo.

2 parameters
memostringrequired
The identifier of the memo whose share link you want to revoke.
sharestringrequired
The identifier of the share link to revoke.

2 status codes
200Confirms that the share link was deleted.
defaultDefault error response
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.

Error handling

The memo path parameter must identify a memo that the authenticated user created or administers, and the share path parameter must identify a share link belonging to that memo.