v4
latestOpenAPI 3.1.02026-08-02261331761.5 KBAssign User To Group
Assign a user to a group - This user will inherit the group's roles.
Path parameters
Either the unique id of the user, or the URL-friendly key of the user (i.e: the "slug").
Either the unique id of the user, or the URL-friendly key of the user (i.e: the "slug").
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").
Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").
Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the "slug").
Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the "slug").
Request body
Example request
{
"tenant": "business"
}Response
Successful Response
Example response
{
"group_resource_type_key": "company",
"group_instance_key": "Acme",
"group_tenant": "business",
"assigned_roles": [
"rnd:backend#admin",
"marketing:social_media#editor"
],
"users": [
"user_1",
"user_2"
]
}