PUT - /product/package/acl/env

General Information


Service

API

Method

Data Model

Workflow

Group

Service

API

Method

Data Model

Workflow

Group

multitenant

/product/package/acl/env

PUT

Products

N/A

Product

Description 

Update product package ACL by env

Input


Type: application/json



Name

Source

Mandatory

Type

Special Format

Description

Name

Source

Mandatory

Type

Special Format

Description

id

Query

YES

String

N/A

The product id

code

Query

YES

String

The Length is 4 - 5

The product code

acl

Body

YES

Object

Part of ACL Schema

Package ACL - Check the example below

env

Query

YES

String

N/A

Environment code

type

Query

NO

String

granular

Type of Acl (API group or granular)

ACL Example of type API Group

{ "acl": { "oauth": [{ "version": "1", "get": [ "Guest" ], "post": [ "Guest", "Tokenization" ], "delete": [ "Tokenization" ] }] } }


ACL Example of type Granular

{ "acl": { "oauth": { "1": { "access": true, "apisPermission": "restricted", "post": { "apis": { "/token": { "group": "Guest", "access": false } } } } } } }

 

Output


Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

Valid Response

Invalid Response

Response schema

Follow this link to check out the response JSON Schema

SOAJS Error Codes




Code

Description

Code

Description

Business logic required data are missing

Unable to find products

Unable to find package

This record is locked. You cannot modify or delete it

Model error: + %model_error%