$apiInstance = new Fastly\Api\IamPermissionsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
listPermissions() | GET /permissions | List permissions |
listPermissions($options): object // List permissions
List all permissions.
try {
$result = $apiInstance->listPermissions($options);
} catch (Exception $e) {
echo 'Exception when calling IamPermissionsApi->listPermissions: ', $e->getMessage(), PHP_EOL;
}
Note: the input parameter is an associative array with the keys listed below.
This endpoint does not need any parameters.
object