Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page is no longer maintained (). For the most current information, go to https://docs.snaplogic.com/public-apis/put-assetapi-project-path.html.

Redirect
filename
locationhttps://docs.snaplogic.com/public-apis/put-assetapi-project-path.html

PUT /assetapi/project/{project_or_space_path}

Overview

This API renames an existing project or project space.

Prerequisites

  • Org Admin permissions or Full Access permissions to the project or project space

Request

Appsplus panel macro confluence macro
data{"features":[

...

"rounded"],"title":"

...

","titleColor":"

...

#FFFFFF","titleColorBG":"

...

#0052CC","titleSize":16,"titleBold":

...

false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"

...

#172B4D","panelColorBG":"

...

#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

...

Table of Contents
minLevel1
maxLevel1
classtocsidebar

Request

...

...

PUT

...

https://{pod_path}/api/1/rest/public/assetapi/project/{project_or_space_path}

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}

Note

The path comparison is case-sensitive.

Query Parameters

None.

Request Header

Specify Basic

...

for authorization and application/json for content type.

...

appsplus-panel-macro-confluence-macro

...

themeAscetic

...

data{"features":["rounded"],"title":"","titleColor":"#FFFFFF","titleColorBG":"#0052CC","titleSize":16,"titleBold":false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

Authorization: Basic {your_encoded_security_credentials}

Content-Type: application/json

Request Body

...

Code Block

...

...

{
  "name" : "..."
}

Key

Type

Description

name

string

The new name for the project.

Response

Response Header

...

Key

...

Description

...

X-SL-StatusCode

Status code indicating the results of the request.

...

Info

The names of assets, projects, or project spaces are limited to UTF-8 alphanumeric characters and these special characters: !"$%&'()*+,-.:;<=>@[]^_`{|}~.