Project Roles

Create a project role

post/api/v2/workspace/{projectId}/roles

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v2/workspace/{projectId}/roles
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Id of the project to create the role for.

Request body

slugstring required

The slug of the role.

namestring required

The name of the role.

descriptionstring nullable

The description for the role.

Response

Default Response

Changes

    • breaking

      removed subschema #1 subschema #2 from the /// request property anyOf list

    • info

      added subschema #1 subschema #2 to the /// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the /// request property anyOf list

    • info

      added subschema #1 subschema #2 to the /// request property anyOf list