Remove an environment from a team
Request
DELETE https://{hostname}:{port}
/cli/environment/teams?{parameters}
Parameter | Type | Required | Description |
---|---|---|---|
application | string | false | Name or ID of the application; this value is required if you specify the environment name instead of ID |
environment | string | true | Name or ID of the environment |
team | string | true | Name or ID of the team |
type | string | false | Name of the type to use. Leave blank if you are using the type "Standard Application". |
Example
curl -k -u jsmith:passwd
"https://deployserver.example.com:8443/cli/environment/teams?
?application=MyApplication&environment=MyEnvironment&team=MyTeam" -X DELETE
Related CLI command: removeEnvironmentFromTeam.