Skip to main content
Reject a shared document

Query Parameters

otp
string

Authorization password for the share token. Required if the share is protected.

Example:

"553827"

shareToken
string
required

Share token used to access the shared resource.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

tenant
string

Tenant the share belongs to. It only has to be given when neither the share token nor the address the request arrives on says which one it is.

Pattern: ^[a-z0-9]+$
Example:

"default"

Body

application/json
annotations
object[]

Annotations marking up what the recipient objects to. They are drawn into the document only where the share allows annotating while rejecting.

comment
string

Reason the recipient is turning the document down. It has to be given unless the share was issued allowing a rejection without one. May carry basic formatting — bold, italic, underline, https links and bullet lists; everything else is stripped on input.

Maximum string length: 2000
Example:

"Processed <b>as requested</b>, see <a href=\"https://example.com/report\">the report</a>."

images
object[]

Images the recipient places into the document while rejecting it. They are drawn in only where the share allows annotating while rejecting.

isPublicComment
boolean
default:false

Whether every recipient of the document may read the reason given, rather than only the workspace. A recipient from outside the workspace always rejects in the open, so that they can see what they wrote.

Example:

false

Response

The document was rejected.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"