OrganizationService_CreateOrganization
POST/auth/v3/partner/{metadata.partner}/organization
OrganizationService_CreateOrganization
Request
Path Parameters
Partner to which the resource belongs
- application/json
- application/yaml
Body
required
metadata objectrequired
metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
spec objectrequired
Spec of the resource
Billing address of the organization
Represents if this organization is active
Is this organization active
Type of organization
Address of the organization
Address of the organization
City
Country of the organization
Phone number of the organization
State of the organization
Zipcode
Is Private Organization
Is TOTP enabled at organization level
Are clusters shared
settings object
Various settings like lockout, auto-logout configuration
lockout object
Lockout settings of the organization
Is lockout settings enabled?
Lockout period in Minutes
Max number of attempts before lockout
Idle Logout time in minutes
status object
Status of the resource
Body
required
metadata objectrequired
metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
spec objectrequired
Spec of the resource
Billing address of the organization
Represents if this organization is active
Is this organization active
Type of organization
Address of the organization
Address of the organization
City
Country of the organization
Phone number of the organization
State of the organization
Zipcode
Is Private Organization
Is TOTP enabled at organization level
Are clusters shared
settings object
Various settings like lockout, auto-logout configuration
lockout object
Lockout settings of the organization
Is lockout settings enabled?
Lockout period in Minutes
Max number of attempts before lockout
Idle Logout time in minutes
status object
Status of the resource
Responses
- 200
- 201
- 403
- 404
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
Default value: system.k8smgmt.io/v3
API Version of the resource
Default value: Organization
Kind of the resource
metadata objectrequired
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec objectrequired
Spec of the resource
Billing address of the organization
Represents if this organization is active
Is this organization active
Type of organization
Address of the organization
Address of the organization
City
Country of the organization
Phone number of the organization
State of the organization
Zipcode
Is Private Organization
Is TOTP enabled at organization level
Are clusters shared
settings object
Various settings like lockout, auto-logout configuration
lockout object
Lockout settings of the organization
Is lockout settings enabled?
Lockout period in Minutes
Max number of attempts before lockout
Idle Logout time in minutes
status object
Status of the resource
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
status of the condition
when the condition status is last updated
reason of the last condition status
{
"apiVersion": "system.k8smgmt.io/v3",
"kind": "Organization",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"billingAddress": "string",
"active": true,
"approved": true,
"type": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"country": "string",
"phone": "string",
"state": "string",
"zipcode": "string",
"isPrivate": true,
"isTotpEnabled": true,
"areClustersShared": true,
"settings": {
"lockout": {
"enabled": true,
"periodMin": 0,
"attempts": 0
},
"idleLogoutMin": 0
}
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.617Z",
"reason": "string"
}
}
- Schema
- Example (from schema)
Schema
Default value: system.k8smgmt.io/v3
API Version of the resource
Default value: Organization
Kind of the resource
metadata objectrequired
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec objectrequired
Spec of the resource
Billing address of the organization
Represents if this organization is active
Is this organization active
Type of organization
Address of the organization
Address of the organization
City
Country of the organization
Phone number of the organization
State of the organization
Zipcode
Is Private Organization
Is TOTP enabled at organization level
Are clusters shared
settings object
Various settings like lockout, auto-logout configuration
lockout object
Lockout settings of the organization
Is lockout settings enabled?
Lockout period in Minutes
Max number of attempts before lockout
Idle Logout time in minutes
status object
Status of the resource
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
status of the condition
when the condition status is last updated
reason of the last condition status
{
"apiVersion": "system.k8smgmt.io/v3",
"kind": "Organization",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"billingAddress": "string",
"active": true,
"approved": true,
"type": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"country": "string",
"phone": "string",
"state": "string",
"zipcode": "string",
"isPrivate": true,
"isTotpEnabled": true,
"areClustersShared": true,
"settings": {
"lockout": {
"enabled": true,
"periodMin": 0,
"attempts": 0
},
"idleLogoutMin": 0
}
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.618Z",
"reason": "string"
}
}
Returned when organization is created successfully.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the user does not have permission to access the resource.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the resource does not exist.
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
An unexpected error response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}