Skip to main content

Set users and groups to roles in the current project

PUT 

/api/admin/projects/:projectId/access

Sets all groups, users and their roles for the given project, overriding any existing configuration.

Request

Path Parameters

    projectId stringrequired

Body

required

projectAccessConfigurationSchema

    roles

    object[]

    required

    A list of roles that are available within this project.

  • Array [

  • id integer

    The id of the role.

    Possible values: >= 1

    Example: 1
    groups integer[]

    A list of group ids that will be assigned this role

    Example: [1,2,3]
    users integer[]

    A list of user ids that will be assigned this role

    Example: [1,2,3]
  • ]

Responses

This response has no body.

Loading...