Create Project Role
Creates a custom project role from a set of policies. The role name must be unique within the project and cannot collide with a system-defined role name.
Path parameters
projectId
The unique identifier of the project.
Headers
CONFIDENT_API_KEY
The organization API key for your Confident AI organization.
Request
This endpoint expects an object.
name
Name of the role (must be unique within the organization and cannot be a system role name)
policyIds
The ids of the policies to attach to this role
description
Optional description of the role
Response
success
Indicates if the request was successful
data