curl --request POST \
--url https://api.example.com/api/v1/organizations/{organizationID}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"name": "The-A-Team",
"description": "An elite commando unit."
},
"spec": {
"roleIDs": [
"64c46f16-43b1-495d-8ee3-040b8321050d"
],
"userIDs": [
"b0c0dc92-b123-410e-bad6-75a2265ca6e1"
],
"serviceAccountIDs": []
}
}
'{
"metadata": {
"id": "a142f641-7fd6-4ab9-a875-344c7ebadc53",
"name": "a-team",
"organizationId": "d4600d6e-e965-4b44-a808-84fb2fa36702",
"creationTime": "2024-05-31T14:11:00Z",
"provisioningStatus": "provisioned",
"healthStatus": "healthy"
},
"spec": {
"userIDs": [
"d4600d6e-e965-4b44-a808-84fb2fa36702"
],
"serviceAccountIDs": [
"a0e9c93a-3a47-4ea1-9caf-22757428a810"
],
"roleIDs": [
"d4600d6e-e965-4b44-a808-84fb2fa36702"
]
}
}Allows creation of a new group.
curl --request POST \
--url https://api.example.com/api/v1/organizations/{organizationID}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"name": "The-A-Team",
"description": "An elite commando unit."
},
"spec": {
"roleIDs": [
"64c46f16-43b1-495d-8ee3-040b8321050d"
],
"userIDs": [
"b0c0dc92-b123-410e-bad6-75a2265ca6e1"
],
"serviceAccountIDs": []
}
}
'{
"metadata": {
"id": "a142f641-7fd6-4ab9-a875-344c7ebadc53",
"name": "a-team",
"organizationId": "d4600d6e-e965-4b44-a808-84fb2fa36702",
"creationTime": "2024-05-31T14:11:00Z",
"provisioningStatus": "provisioned",
"healthStatus": "healthy"
},
"spec": {
"userIDs": [
"d4600d6e-e965-4b44-a808-84fb2fa36702"
],
"serviceAccountIDs": [
"a0e9c93a-3a47-4ea1-9caf-22757428a810"
],
"roleIDs": [
"d4600d6e-e965-4b44-a808-84fb2fa36702"
]
}
}Operation requires OAuth 2.0 bearer token authentication.
An organization ID.
Body required to create a group.
A group when created or updated.
Metadata required for all API resource reads and writes.
Show child attributes
A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
The resource description, this optionally augments the name with more context.
A group.
Show child attributes
A list of strings.
An arbitrary string.
A list of strings.
An arbitrary string.
A list of strings.
An arbitrary string.
A group in the organization.
A group when read.
Metadata required by organization scoped resource reads.
Show child attributes
A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
The unique resource ID.
The time the resource was created.
The provisioning state of a resource.
unknown, provisioning, provisioned, deprovisioning, error The health state of a resource.
unknown, healthy, degraded, error The organization identifier the resource belongs to.
The resource description, this optionally augments the name with more context.
The user who created the resource.
The time a resource was updated.
The user who updated the resource.
The time the resource was deleted.
A group.
Show child attributes
A list of strings.
An arbitrary string.
A list of strings.
An arbitrary string.
A list of strings.
An arbitrary string.