cURL
curl --request POST \ --url https://identity.nks.europe-west4.nscale.com/api/v1/organizations/{organizationID}/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "spec": { "subject": "[email protected]", "state": "active", "groupIDs": [ "0aaba80d-67ef-4799-b6d9-59f37e2ce2ad" ] } } '
{ "metadata": { "id": "ee45f34b-9685-40d8-8724-23c31252ca46", "name": "undefined", "organizationId": "d4600d6e-e965-4b44-a808-84fb2fa36702", "creationTime": "2024-05-31T14:11:00Z", "provisioningStatus": "provisioned", "healthStatus": "healthy" }, "spec": { "subject": "[email protected]", "state": "active", "groupIDs": [ "0aaba80d-67ef-4799-b6d9-59f37e2ce2ad" ] }, "status": { "lastAcive": "2025-01-12T10:49:13Z" } }
Creates a new user and associates with a set of groups.
Operation requires OAuth 2.0 bearer token authentication.
An organization ID.
Body required to create a user.
A user create/update object.
A user specification.
Show child attributes
Metadata required for all API resource reads and writes.
A user.
A user read object.
Metadata required by organization scoped resource reads.
Additional user metadata.