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.
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.