Retrieve an Organization
get
/api/v2/organizations/{id}/
Make GET request to this resource to retrieve a single organization record containing the following fields:
id: Database ID for this organization. (integer)type: Data type for this organization. (choice)url: URL for this organization. (string)related: Data structure with URLs of related resources. (object)summary_fields: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created: Timestamp when this organization was created. (datetime)modified: Timestamp when this organization was last modified. (datetime)name: Name of this organization. (string)description: Optional description of this organization. (string)max_hosts: Maximum number of hosts allowed to be managed by this organization. (integer)custom_virtualenv: Local absolute file path containing a custom Python virtualenv to use (string)default_environment: The default execution environment for jobs run by this organization. (id)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
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