GroupService_CreateGroup
POST/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/groups
GroupService_CreateGroup
Request
Path Parameters
Partner to which the resource belongs
Organization to which the resource belongs
- application/json
- application/yaml
Body
required
- Array [
- ]
Default value: system.k8smgmt.io/v3
API Version of the group resource
Default value: Group
Kind of the group 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
spec objectrequired
Metadata of the group resource
projectNamespaceRoles object[]
Project, namespace, role associations for group
Project
Namespace
Role
Group
List of users for group
Type of group
status object
Status of the resource
Body
required
- Array [
- ]
Default value: system.k8smgmt.io/v3
API Version of the group resource
Default value: Group
Kind of the group 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
spec objectrequired
Metadata of the group resource
projectNamespaceRoles object[]
Project, namespace, role associations for group
Project
Namespace
Role
Group
List of users for group
Type of group
status object
Status of the resource
Responses
- 200
- 201
- 403
- 404
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: system.k8smgmt.io/v3
API Version of the group resource
Default value: Group
Kind of the group resource
metadata objectrequired
Metadata of the group 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
Metadata of the group resource
projectNamespaceRoles object[]
Project, namespace, role associations for group
Project
Namespace
Role
Group
List of users for group
Type of group
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": "Group",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"projectNamespaceRoles": [
{
"project": "string",
"namespace": "string",
"role": "string",
"group": "string"
}
],
"users": [
"string"
],
"type": "string"
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.705Z",
"reason": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: system.k8smgmt.io/v3
API Version of the group resource
Default value: Group
Kind of the group resource
metadata objectrequired
Metadata of the group 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
Metadata of the group resource
projectNamespaceRoles object[]
Project, namespace, role associations for group
Project
Namespace
Role
Group
List of users for group
Type of group
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": "Group",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"projectNamespaceRoles": [
{
"project": "string",
"namespace": "string",
"role": "string",
"group": "string"
}
],
"users": [
"string"
],
"type": "string"
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.706Z",
"reason": "string"
}
}
Returned when group is created successfully.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the group 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"
}
]
}