POST /api/admin/permissions/validate
As of Version | product version 1.0 | component version 1.0 |
---|---|
Request Method | POST |
Response Format | JSON |
Required Permission | available if listed in |
Description | To validate the role set of the tenant, there are two possibilities to send the new role set: as binary in the request body or as multipart request with part name If the validation process fails, the response contains at least one error message. If the new role set is valid, the response contains an empty list |
Request Header | Content-Type: application/xml |
Response Example | The result is a JSON structure containing a 200 - the role set is valid, no validation errors { "validationErrors": [] } 422 - there were validation errors { "validationErrors": [ { "message": "Unable to unmarshal schema. [line: 14][column: 13] cvc-complex-type.2.4.a: Ungültiger Content wurde beginnend mit Element 'condition' gefunden. '{\"http://optimal-systems.org/ns/dmscloud/roleset/\":action}' wird erwartet." } ] } |