Swop Control API
Organization, project, environment, and policy management
Operations 31
POST
/v1/control/projects/{projectId}/environments
Create an environment and issue its first credential pair
#
POST
/v1/control/environments/{environmentId}/credentials
Rotate or create a new environment credential pair
#
DELETE
/v1/control/environments/{environmentId}/credentials/{credentialId}
Revoke an environment credential pair
#
GET
/v1/control/organizations/{organizationId}/admin-credentials
List organization admin credentials
#
POST
/v1/control/organizations/{organizationId}/admin-credentials
Create an organization admin credential
#
PATCH
/v1/control/organizations/{organizationId}/members/{memberId}
Update an organization member role and sync their active admin credentials
#
DELETE
/v1/control/organizations/{organizationId}/members/{memberId}
Revoke an organization member and deactivate their admin credentials
#
DELETE
/v1/control/organizations/{organizationId}/invites/{inviteId}
Revoke an organization invite
#
DELETE
/v1/control/organizations/{organizationId}/admin-credentials/{credentialId}
Revoke an organization admin credential
#
POST
/v1/control/organization-invites/{inviteId}/accept
Accept an organization invite and mint an org-scoped admin credential
#
PUT
/v1/control/environments/{environmentId}/chains/{chain}
Create or update an environment RPC target
#
POST
/v1/control/environments/{environmentId}/webhooks/{webhookId}/rotate-secret
Rotate a webhook signing secret
#
POST
/v1/control/environments/{environmentId}/oidc-clients
Create an OIDC client for Sign in with Swop
#