Revoke a share link. Revocation takes effect immediately and is permanent.
Input
Encoding
application/jsonshareId
string
Required
No description available.
siteId
stringrecord-key
Required
A valid record key for AT Protocol repositories.
Output
Encoding
application/jsonrevoked
boolean
Required
No description available.
shareId
string
Required
No description available.
Errors
AuthenticationRequired
InvalidRequest
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Revoke a share link. Revocation takes effect immediately and is permanent.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"shareId": {
"type": "string"
},
"siteId": {
"format": "record-key",
"type": "string"
}
},
"required": [
"siteId",
"shareId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"revoked": {
"const": true,
"type": "boolean"
},
"shareId": {
"type": "string"
}
},
"required": [
"shareId",
"revoked"
],
"type": "object"
}
},
"type": "procedure"
}