Request elevation to trusted editor role. The request is validated against eligibility criteria.
Input
Encoding
application/jsontargetRole
string
Required
Role to request elevation to
Output
Encoding
application/jsonSchema#elevationResult
Errors
AuthenticationRequired
InvalidRequest
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Request elevation to trusted editor role. The request is validated against eligibility criteria.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"targetRole": {
"description": "Role to request elevation to",
"knownValues": [
"trusted-editor"
],
"type": "string"
}
},
"required": [
"targetRole"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#elevationResult",
"type": "ref"
}
},
"type": "procedure"
}