Skip to main content
Unary · Groups Removes direct access for a principal (user or service account) from a resource. Use this method to:
  • Revoke a principal’s direct access to a resource
  • Remove sharing without affecting group-based access

Examples

  • Remove user access from a runner: Revokes a user’s direct access to a runner.

Authorization

Requires admin role on the specific resource.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.UnshareResourceWithPrincipalRequest UnshareResourceWithPrincipal messages

Response

gitpod.v1.UnshareResourceWithPrincipalResponse This message has no fields.