HTTP API Reference

Roles API reference

Reference documentation for the Roles HTTP endpoints.

Use the Roles API to assign roles, grants, and permissions.

Authentication

  • All requests must be authenticated.
  • Administrator or equal access is required to interact with this API.

Base API server URL

Sanity API base URL

https://api.sanity.io/{apiVersion}

Variables

  • apiVersionstringdefault: "v2021-10-04"

    API version