Skip to main content
PUT
/
api
/
v1
/
organizations
/
{organizationID}
/
groups
/
{groupid}
Update group
curl --request PUT \
  --url https://identity.nks.europe-west4.nscale.com/api/v1/organizations/{organizationID}/groups/{groupid} \
  --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": []
  }
}
'
{
  "error": "access_denied",
  "error_description": "authentication failed"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nscale.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Operation requires OAuth 2.0 bearer token authentication.

Path Parameters

organizationID
string
required

An organization ID.

groupid
string
required

A unique group ID.

Body

application/json

Body required to update a group.

A group when created or updated.

metadata
object
required

Metadata required for all API resource reads and writes.

spec
object
required

A group.

Response

Group successfully updated and returned.