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
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"targetRole"
],
"properties": {
"targetRole": {
"type": "string",
"description": "Role to request elevation to",
"knownValues": [
"trusted-editor"
]
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
}
],
"output": {
"schema": {
"ref": "#elevationResult",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Request elevation to trusted editor role. The request is validated against eligibility criteria."
}