GET /v1/origin/namespaces/{namespaceSlug}/grants
Lists who has been granted access to an owner: users, groups, and the owning team's built-in admin and member groups. Each grant carries the permission it confers on every repository under the owner. Grants made on individual repositories are not included; see ListRepositoryGrants. Requires the namespace:settings:read scope. Paginated with page_size and page_token; default page size is 30, maximum is 100.
Request
- Base URLhttps://api.cursor.com
- AuthHTTP bearer
Path parameters
Slug of the namespace whose grants to list.
Query parameters
Max grants to return. Defaults to 30 when unset or 0. Values above 100 are clamped to 100.
Opaque cursor from a previous response's next_page_token. Empty for the first page. page_size on a follow-up request applies to that page; omit it to keep the previous page size.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.