Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Bulk Add Project Role

Deprecated: use project v2 service AddProjectRole instead.

Add a list of roles to a project. The keys must be unique within the project.

POST
/management/v1/projects/{project_id}/roles/_bulk

Path Parameters

project_id*project_id

Request Body

application/json
  1. body
roles?array<>

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/management/v1/projects/string/roles/_bulk' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?