Retrieve privileges of current user
GET /assetapi/acl/{project_path}
Overview
This API retrieves the privileges of the current user to access the specified project.
Prerequisites
- Environment (Org) admin permissions
Request
GET https://{controlplane_path}/api/1/rest/public/assetapi/acl/{project_path}
Path parameters
Key | Description |
---|---|
controlplane_path |
Required. The path to the SnapLogic Control Plane:
elastic.snaplogic.com
For the UAT or EMEA control plane, substitute the name for elastic . For
example:
|
project_path |
Required. The path to the SnapLogic project.
Format: Important: The path comparison is case-sensitive.
|
Query parameters
None.
Request header
In the request header, specify Basic
for authorization, add your credentials, and specify application/json
for content type:
Authorization: Basic {your_encoded_security_credentials}
Content-Type: application/json
Request body
None.
Response
Response body
{
"success": {
"acl": [
{
"subject_type": "USER",
"subject": "[email protected]",
"perms": [
"R",
"W",
"X"
],
"inherit": false
}
]
}
}