Skip to content

Latest commit

 

History

History
executable file
·
54 lines (36 loc) · 1.49 KB

PermissionsApi.md

File metadata and controls

executable file
·
54 lines (36 loc) · 1.49 KB

Swagger\Client\PermissionsApi

All URIs are relative to https://api.insightly.com/v3.0

Method HTTP request Description
getPermissions GET /Permissions Gets the Permissions for a User

getPermissions

\Swagger\Client\Model\APIPermissions getPermissions()

Gets the Permissions for a User

Permissions determine if an individual user can read, edit, delete, or create records of a given object type.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Swagger\Client\Api\PermissionsApi(
    // 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()
);

try {
    $result = $apiInstance->getPermissions();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PermissionsApi->getPermissions: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\Swagger\Client\Model\APIPermissions

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]