POST /api/system/permissions
As of Version | product version 1.0 | component version 1.0 |
---|---|
Request Method | POST |
Response Format | JSON |
Required Permission | available if listed in |
Description | This endpoint is used to update the global permissions file of the yuuvis® system. Similar to other schema update endpoints in yuuvis®, this infers a schema validation and returns its result to the user, performing the update only after successful validation. |
Request Headers | Content-Type: application/xml |
Request Example | |
Response Example | The result is a JSON structure containing a 200 - no validation errors, the role set has been updated { "validationErrors": [] } 422 - there were validation errors, the role set was not updated { "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." } ] } |