Enabling or Disabling API Access for an Organization with the API
Use the API to control API access for an organization.
To enable or disable API access you need the following:
Subscription Locator — The Subscription Locator of the Organization you want to access. To find Subscription Locators for your organizations use the GET /v1/userinfo
method to return a list of all of the organizations for your OAuth Token with their Subscription Locators. You can use 0 as the Subscription Locator for the organization that owns the OAuth token.
- Use the
POST /v1/subscriptions/{subscriptionLocator}/apiservice/access
method to enable API access for an organization. - Include the
subscriptionLocator
of the organization being enabled. - Use the
DELETE /v1/subscriptions/{subscriptionLocator}/apiservice/access
method to remove API access for an organization. - Include the
subscriptionLocator
of the organization being disabled.
TIBCO Cloud Integration - Connect has a separate API that allows you to manage objects for that capability. For more information on enabling or disabling API access for TIBCO Cloud Integration - Connect organizations, see the help for POST /v1/orgs/{orgId}/securityrules
and PUT /v1/orgs/{orgId}/securityrules/{ruleId}
under Organizations in the TIBCO Cloud Integration - Connect Developer Portal.
Related Topics
Managing an Organization with the TIBCO Cloud™ Integration API