Reject a pending co-author request. Only the PDS owner can reject.
Input
Encoding
application/jsonreason
string
Optional
Optional rejection reason
maxLength: 500 bytesrequestId
integer
Required
ID of the co-author request to reject
Output
Encoding
application/jsonsuccess
boolean
Required
Whether the rejection was successful
Errors
AuthenticationRequired
Forbidden
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"requestId"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 500,
"description": "Optional rejection reason"
},
"requestId": {
"type": "integer",
"description": "ID of the co-author request to reject"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Forbidden"
},
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the rejection was successful"
}
}
},
"encoding": "application/json"
},
"description": "Reject a pending co-author request. Only the PDS owner can reject."
}