Update an Organization
put
/api/v2/organizations/{id}/
Make a PUT or PATCH request to this resource to update this organization. The following fields may be modified:
name: Name of this organization. (string, required)description: Optional description of this organization. (string, default="")-
max_hosts: Maximum number of hosts allowed to be managed by this organization. (integer, default=0) -
default_environment: The default execution environment for jobs run by this organization. (id, default=``)
For a PUT request, include all fields in the request.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : Organization
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
custom_virtualenv:
string
Title:
Custom virtualenvRead Only:trueMinimum Length:1Local absolute file path containing a custom Python virtualenv to use -
default_environment:
integer
Title:
Default environmentThe default execution environment for jobs run by this organization. -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
max_hosts:
integer
Title:
Max hostsMinimum Value:0Maximum number of hosts allowed to be managed by this organization. -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Response
Supported Media Types
- application/json
200 Response
Root Schema : Organization
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
custom_virtualenv:
string
Title:
Custom virtualenvRead Only:trueMinimum Length:1Local absolute file path containing a custom Python virtualenv to use -
default_environment:
integer
Title:
Default environmentThe default execution environment for jobs run by this organization. -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
max_hosts:
integer
Title:
Max hostsMinimum Value:0Maximum number of hosts allowed to be managed by this organization. -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true