Create Environment

Creates a new environment inside the environment identified with the ID {envId}.

URI: POST /resource/create/environment/{envId}

Parameters

Parameters in bold are mandatory

Location

Name

Description

Type

path

envId

The ID of the parent environment where the new environment will be created.

See Get Resource ID for further details on how to retrieve IDs.

str

querystring

label

The name of the new environment.

str

body

permissionList

The permissions assigned to the new source. The parameters to specify are:

  • name”: the name of the user or of the group. If “type” is set to "other" this has to be null.

  • type”: the type of entity to which the permissions are assigned. It can be:

    • "user"

    • group"

    • "other".

  • view”: the view permissions of the specified entity. They can be:

    • "allow"

    • "deny"

    • "unspecified" (default value).

  • modify”: the modify permissions of the specified entity. They can be:

    • "allow"

    • "deny"

    • "unspecified" (default value)

  • create”: the create permissions of the specified entity. They can be:

    • "allow"

    • "deny"

    • "unspecified" (default value)

  • execute”: the execute permissions of the specified entity. They can be:

    • "allow"

    • "deny"

    • "unspecified" (default value)

  • delete”: the delete permissions of the specified entity. They can be:

    • allow"

    • "deny"

    • "unspecified" (default value)

  • setpermissions”: the set permissions permissions of the specified entity. They can be:

    • allow"

    • "deny"

    • "unspecified" (default value)

  • sharepermissions”: the share permissions of the specified entity. They can be:

    • allow"

    • "deny"

    • "unspecified" (default value)

list

To see details on possible response codes, go to API Responses.