Skip to main content

Configure project role access

POST 

/api/admin/projects/:projectId/role/:roleId/access

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Configure project access for groups and single users. The provided users and groups will be given the role specified in the URL parameters. This endpoint is deprecated. Use /:projectId/access instead.

Request

Path Parameters

    projectId stringrequired
    roleId stringrequired

Body

required

projectAddRoleAccessSchema

    groups

    object[]

    required

    A list of groups IDs

  • Array [

  • id integerrequired

    A group ID

    Example: 5
  • ]

  • users

    object[]

    required

    A list of user IDs

  • Array [

  • id integerrequired

    A user ID

    Example: 5
  • ]

Responses

This response has no body.

Loading...