API संदर्भ
access
या क्षेत्रात 13 एंडपॉइंट्स आहेत. प्रत्येकाचे स्वतःचे पेज आहे, ज्यामध्ये त्याचे पॅरामीटर्स, रिस्पॉन्स आणि तुम्ही चालवू शकता अशी रिक्वेस्ट समाविष्ट आहे.
| पद्धत | पथ | हे काय करते | परवानगी |
|---|---|---|---|
| GET | /v1/access/impersonation/current | The current impersonation status (drives the banner). | — |
| POST | /v1/access/impersonation/end | Exit the current impersonation session (revoke). | — |
| POST | /v1/access/impersonation/redeem | Exchange a single-use impersonation ticket for a session token. | — |
| GET | /v1/orgs/{orgId}/auth-policy | Read an org's authentication policy. | org.read |
| PUT | /v1/orgs/{orgId}/auth-policy | Set an org's authentication policy (require MFA). | org.update |
| GET | /v1/orgs/{orgId}/members | List the people in an organization. | members.read |
| DELETE | /v1/orgs/{orgId}/members/{userId} | Remove a member and offboard them (docs/35 | members.remove |
| PATCH | /v1/orgs/{orgId}/members/{userId} | Change a member's role. | members.role.assign |
| GET | /v1/orgs/{orgId}/roles | List the roles the caller may grant in an organization. | members.read |
| GET | /v1/sites/{siteId}/collaborator-roles | The per-site roles that may be granted here. | — |
| GET | /v1/sites/{siteId}/collaborators | Who this site is shared with. | — |
| POST | /v1/sites/{siteId}/collaborators | Share this site with one person. | — |
| DELETE | /v1/sites/{siteId}/collaborators/{grantId} | Revoke one person's access to this site. | — |