POST /assetapi/project/{project_or_space_path}
Overview
This API creates a new project or project space at the specified path with the specified permissions.
To assign admin privileges to other users, use one of the following APIs to add them to the admins
group:
PATCH /groups/{org}/{groupname}
PUT /groups/{org}/{groupname}
When creating new Projects using the Public API (POST /project/{projpath}
), the checkout Public API (POST /project/checkout/{project_path}
) is currently unable to create the initial link between the Project and the repository, and the checkout will fail. As a workaround, check out using the UI instead. Target fix version: 4.28 patch in March 2022
Prerequisites
Org Admin permissions or Full Access permissions to the project or project space
Request
Path Parameters
Key | Description |
---|---|
| Required. The path to your SnapLogic pod. Example: |
| Required. The path to the SnapLogic project or project space. Format:
The path comparison is case-sensitive. |
Query Parameters
None.
Request Header
Specify Basic
for authorization and application/json
for content type.
Request Body
{ "permissions":[ { "perms": [ ... ], "inherit": ..., "subject_type": "...", "subject": "..." } ] }
Key | Type | Description |
---|---|---|
| array | An array containing one or more of the following permissions:
Learn more: Permissions in Manager and in APIs |
| Boolean | If |
| string | The type of the Valid values:
|
| string | The user or group who can access the new project or project space. |