As of Version | product version 2021 summer | component version 2021 summer |
---|---|
Request Method | POST |
Response Format | JSON |
Description | This endpoint is used to update app allocations for the specified tenant. This infers a validation and returns its result to the user, performing the update only after successful validation. |
Request Headers | Content-Type: application/xml |
Request Example | <?xml version="1.0" encoding="utf-8"?> <apps xmlns="http://optimal-systems.org/ns/yuuvis/apps/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://optimal-systems.org/ns/yuuvis/apps/ yuuvis-core-apps.xsd"> <app> <name>clientsystem</name> <state>enabled</state> </app> <app> <name>client</name> <state>enabled</state> </app> <app> <name>email</name> <state>disabled</state> </app> <app> <name>acl</name> <state>disabled</state> </app> </apps> |
Response Example | The result is a JSON structure containing a 200 - no validation errors, the apps for the tenant have been updated { "validationErrors": [] } 422 - there were validation errors, the apps were not updated { "validationErrors": [ { "message": "Unable to disable app 'client' and enable app 'invoice'. There are references from the schema of app 'invoice' to the schema of app 'client'." } ] } |
Manage space
Manage content
Integrations