Αναφορά API

access

16 τελικά σημεία σε αυτήν την περιοχή. Το καθένα έχει τη δική του σελίδα με τις παραμέτρους του, την απόκρισή του και ένα αίτημα που μπορείτε να εκτελέσετε.

Όλα τα έγγραφα προγραμματιστών →

ΜέθοδοςΔιαδρομήΤι κάνειΔικαίωμα
GET/v1/access/impersonation/currentThe current impersonation status (drives the banner).Οποιοδήποτε κλειδί API
POST/v1/access/impersonation/endExit the current impersonation session (revoke).Οποιοδήποτε κλειδί API
POST/v1/access/impersonation/redeemExchange a single-use impersonation ticket for a session token.Δεν υπάρχει κλειδί API
GET/v1/orgs/{orgId}/auth-policyRead an org's authentication policy.org.read
PUT/v1/orgs/{orgId}/auth-policySet an org's authentication policy (require MFA).org.update
GET/v1/orgs/{orgId}/delegated-accessEverybody this organisation has shared sites with, one row per person.sites.collaborators.manage
PUT/v1/orgs/{orgId}/delegated-accessSet exactly which sites one person holds, and the role on each.sites.collaborators.manage
POST/v1/orgs/{orgId}/delegated-access/revokeRevoke one person from every site, or from chosen sites.sites.collaborators.manage
GET/v1/orgs/{orgId}/membersList the people in an organization.members.read
DELETE/v1/orgs/{orgId}/members/{userId}Remove a member and offboard them (docs/35members.remove
PATCH/v1/orgs/{orgId}/members/{userId}Change a member's role.members.role.assign
GET/v1/orgs/{orgId}/rolesList the roles the caller may grant in an organization.members.read
GET/v1/sites/{siteId}/collaborator-rolesThe per-site roles that may be granted here.sites.collaborators.manage
GET/v1/sites/{siteId}/collaboratorsWho this site is shared with.sites.collaborators.manage
POST/v1/sites/{siteId}/collaboratorsShare this site with one person.sites.collaborators.manage
DELETE/v1/sites/{siteId}/collaborators/{grantId}Revoke one person's access to this site.sites.collaborators.manage