General Information
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product/scope/acl/service | PUT | N/A | Product |
Description
Update the ACL of a specific service in the product scope
Input
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
productCode | Query, Body | YES | String | The product code | |
env | Query, Body | YES | Object | Environment code | |
acl | Body | YES | Array of Object | N/A |
ACL Example
{ "acl": [ { "service": "urac", "version": "3", "envs": { "dev": true }, "restriction": { "dev": true }, "access": { "dev": true }, }, { "service": "multitenant", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true }, } ] } |
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
{ result: true, data: 'Product Package Acl Updated!' } |
Invalid Response
{ "result":false, "errors":{ "codes":[460], "details":[ { "code":460, "message":"Unable to find products" } ] } } |
Response schema
Follow this link to check out the response JSON Schema
SOAJS Error Codes
Code | Description |
---|---|
400 | Business logic required data are missing |
460 | Unable to find products |
461 | Unable to find package |
500 | This record is locked. You cannot modify or delete it |
602 | Model error: + %model_error% |
Add Comment