curl --request POST \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"members": [
"<string>"
],
"roles": [
"<string>"
]
}
'{
"id": "<string>",
"name": "<string>",
"numMembers": 123,
"numServiceAccounts": 123,
"roleBindings": [
{
"role": {
"id": "<string>",
"name": "<string>",
"permissions": [
{
"id": "organisation.read",
"description": "<string>"
}
],
"scopes": [
"organisation"
]
},
"resource": {
"resourceType": "organisation",
"resourceId": "<string>",
"name": "<string>"
}
}
]
}CreateGroup creates a new Group for the given Organisation.
curl --request POST \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"members": [
"<string>"
],
"roles": [
"<string>"
]
}
'{
"id": "<string>",
"name": "<string>",
"numMembers": 123,
"numServiceAccounts": 123,
"roleBindings": [
{
"role": {
"id": "<string>",
"name": "<string>",
"permissions": [
{
"id": "organisation.read",
"description": "<string>"
}
],
"scopes": [
"organisation"
]
},
"resource": {
"resourceType": "organisation",
"resourceId": "<string>",
"name": "<string>"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Created
Group is a collection of members of an Organisation. Groups can be used to manage access to resources within an Organisation for a set of members.