Skip to end of banner
Go to start of banner

Grant a User or Group Access to a Project or Project Space

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14

POST /assetapi/acl/{project_or_space_path}

Overview

This API grants a user or group access to the specified project or project space.

Prerequisites

  • Org Admin permissions

Request

Path Parameters

Key

Description

pod_path

Required. The path to your SnapLogic pod.

Example: elastic.snaplogic.com

project_or_space_path

Required. The path to the SnapLogic project or project space.

Format:

  • Project: /{org}/{project_space}/{project_name}

  • Project space: /{org}/{project_space}

The path comparison is case-sensitive.

Query Parameters

None.

Request Header

Specify Basic for authorization and application/json for content type.

Request Body

{
  "grant_type" : "...",
  "grantee" : "...",
  "permission_list" : [ ... ],
  "inherit" : ...
}

Key

Type

Description

grant_type

string

The type of the grantee.

Valid values:

  • USER

  • GROUP

grantee

string

The user or group to whom to grant access.

permission_list

array

An array containing one or more of the following permissions:

  • "R" – read

  • "W" – write

  • "X" – execute

Learn more: Permissions in Manager and in APIs

inherit

Boolean

If true, the permissions also apply to all assets in the specified project or project space.

Response

Status code only.

  • No labels