List API access policies
Retrieves a paginated list of API access policies (both basic and advanced) for the specified API resource. Optional query parameters allow sorting of the results.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
The unique identifier of the API resource.
The page number to retrieve.
int321 <= value1The number of API access policies to return per page.
int321 <= value <= 5010Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - name, type, is_permitted, creation_time and last_updated
Response Headers
200
Returns the x-Pagination header
Number of items returned per page.
int32The current page number.
int32Total number of items available.
int32Indicates whether a previous page exists.
Indicates whether a next page exists.
Response Body
application/json
The API access policies were retrieved successfully
TypeScript Definitions
Use the response body type in TypeScript.
Returns an array. Each item has the fields below.
API Access Policy Response: Represents an API access policy.
Errors
curl -X GET "https://your-domain.us.monocloud.com/api/resources/api_resources/EF12vwe266fUHM6dh5Gup/policies?page=1&size=10&sort=priority%3A1" \ -H "X-API-KEY: <token>"[ { "id": "string", "enabled": true, "name": "string", "description": null, "type": "basic", "is_permitted": true, "creation_time": 0, "last_updated": 0, "revision": 0, "client_id": null }]