Add Project Role
Deprecated: use project v2 service AddProjectRole instead.
Add a new project role to a project. The key must be unique within the project.
Path Parameters
project_id*string
Request Body
application/json
roleKey*string
displayName*string
group?string
[key: string]?never
Response Body
application/json
curl -X POST "https://loading/projects/string/roles" \ -H "Content-Type: application/json" \ -d '{ "roleKey": "string", "displayName": "string" }'{
"details": {
"sequence": 0,
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
}
}Was this page helpful?
Add Project Member
Add Project Member: Deprecated: use [CreateAdministrator](/reference/api/internal_permission/zitadel.internal_permission.v2.InternalPermissionService.CreateAdministrator) instead. Members are users with permission to ...
Add User Grant
Add User Grant: Deprecated: [Add an authorization](/reference/api/authorization/zitadel.authorization.v2.AuthorizationService.CreateAuthorization) to grant a user access to an owned or granted project. Add a user ...