Create Global Environment

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Creates a new global environment.

Note

By default, Artifactory supports up to 10 global environments. To change this default value, modify the Access configuration YAML, as described in Supported Access Configurations. The maximum recommended number of environments is 30.Supported Access Configurations

Since: 7.53.1

Security: Requires a user assigned the Administer the Platform role.

Usage: POST /access/api/v1/environments

Authentication: Requires token-based authentication.

Sample Request:

{
  "name": "<string>"
}

Note

The maximum length of an environment name is 32 characters.

Sample Response:

{
  "name": "<string>"
}

Status Codes:

Code

Description

200

Created

400

Bad Request

401

Unauthorized

403

Forbidden

409

Conflict

Note

To create a project environment, see Create Project Environment.