Editing an API service
You can edit API service settings, operations, and rules. You can also configure scopes and access tokens in basic rules.
Steps
-
Go to Authorization > API Services, click the More Options (⋮) icon next to the API service that you want to edit, and select Edit.
-
Update any of the following settings:
-
Optional: Change the API service Name or Base URLs.
-
To change the PingOne Resource associated with the API service, select a resource from the list, or select the option to Automatically create a PingOne Resource.
This resource is managed by the API service and there are restrictions against deleting the resource while it’s associated with an API service. Resources created automatically will have the same name as the API service. For more information about resources, see API services.
-
Click Save.
-
-
To add an operation, click the Operations tab, and then click Define Operation. Complete settings to define the operation.
-
To edit an operation, click the Operations tab, click the More Options (⋮) icon next to the operation name, and then select Edit Operation:
-
Optional: Change Methods, Paths, or the operation Name.
-
Optional: In Access Rules, change the Groups that are granted access to the operation, or the scopes that must be authorized.
-
Click Save.
-
-
To edit the API service’s authorized scopes, on the Advanced tab, click the Pencil icon.
Scopes determine the resources that a client can access.
The Advanced tab is not available when user directory services and access token validation are managed externally. In this case, use your external provider, such as PingFederate, to configure authorized scopes.
-
Optional: Change a scope Name or Description.
-
To add a scope, click +Add, and then enter a Name and Description for the scope.
-
To remove a scope, click the Delete icon next to the description.
-
Click Save.
-
-
To configure the access token for the API service:
-
On the Advanced tab, click Configure Access Token.
-
Edit the scopes assigned to the resource.
For more information, see Editing a resource.
-
Click Save.
-
-
To edit custom policies for the API service:
-
Go to Authorization → Policies and select the policy in the API Access Management policy tree.
You can edit any of the policies that are nested under Custom policy sets.
-
Update the policy, and then click Save changes.
-
Go to Authorization → API Services and select the API service.
-
Click Deploy.
-