Replace the application's authorization model (validated before it is stored).
PUT
End-user session operationId: put_model/v1/authz/model Authorization
Called from the browser with the publishable application id (x-application-id); the access token lives in memory.
Request body · required
any
Responses
200 Model stored
{
"data": {},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 422 Invalid model
Request
curl -X PUT "http://localhost:8080/v1/authz/model" \
-H "Content-Type: application/json" \
-d '{}'Try it
live requestPUT
http://localhost:8080/v1/authz/model