Skip to main content

Add group user

Adds a principle(user and service-users) to a group, existing users in the group will be ignored. A group can't have nested groups as members.

Path Parameters
    org_id string required
    id string required
Request Body required
    user_ids string[]
Responses

A successful response.


Schema

    object

POST /v1beta1/organizations/:org_id/groups/:id/users

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
org_id — path required
id — path required
Body required
{
"user_ids": [
"string"
]
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/organizations/:org_id/groups/:id/users' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"user_ids": [
"string"
]
}'