Skip to content
Ona Docs

DeleteRoleAssignment

POST/gitpod.v1.GroupService/DeleteRoleAssignment

Deletes a role assignment.

Use this method to:

  • Remove group access to resources
  • Revoke role-based permissions

Examples

  • Delete a role assignment:

    Removes a role assignment by its ID.

    assignmentId: "a1b2c3d4-5678-90ab-cdef-1234567890ab"

Authorization

Requires admin role on the specific resource.

Body ParametersJSONExpand Collapse
assignmentId: optional string
formatuuid

DeleteRoleAssignment

curl https://app.gitpod.io/api/gitpod.v1.GroupService/DeleteRoleAssignment \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $GITPOD_API_KEY" \
    -d '{}'
{}
Returns Examples
{}