Configure REST API Auth scope
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Platform Security
Link the OAuth entity with an auth scope to manage the token to access the REST APIs that are linked with the auth scope.
Before you begin
Install the following plugins:
- OAuth 2.0
- REST API Provider
- Authentication scope
- REST API Auth Scope
Role required: admin
Procedure
Example: Consider creating three REST API Auth Scope for Table API
The first auth scope is mapped to the Table API with all the http methods, versions, and resources enabled.

The second auth scope is mapped to the Table API with all the versions and resources enabled. But, you choose the HTTP Method, in this example, the GET method.

The third auth scope is mapped to the Table API without the http methods, versions, and resources enabled. But, you choose the HTTP Method, Version, and Resource manually. In this example, HTTP Method is
GET, REST API Version is latest, and Resource is /now/table/{tableName}
.

If all these auth scopes are created, you can use GET method with all the three scopes, but for POST, PUT, DELETE, or PATCH methods only scope3 can be used.