Jump to: navigation, search

Permissions

Method

GET

Syntax

 
/grs/v1/permissions/{tenantId}

Request Body

N/A

Response Body

 
{   
   "canCreatePackage":true,
   "canModifyPackage":true,
   "canDeletePackage":true,
   "canDeployPackage":true,
   "canViewRule":true,
   "canCreateRule":true,
   "canModifyRule":true,
   "canEditRuleOnly":false,
   "canDeleteRule":true,
   "canViewCalendar":true,
   "canCreateCalendar":true,
   "canModifyCalendar":true,
   "canDeleteCalendar":true,
   "canViewPackageSnapshot":true,
   "canCreatePackageSnapshot":true,
   "canDeletePackageSnapshot":true,
   "canViewTestScenario":true,
   "canCreateTestScenario":true,
   "canModifyTestScenario":true,
   "canDeleteTestScenario":true,
   "canExecuteTestScenario":true,
   "canCreateTemplate":true,
   "canModifyTemplate":true,
   "canDeleteTemplate":true
}

HTTP Status Codes

  • 200 OK—Response body provided
  • 401 Unauthorized—APIToken not valid
  • 403 Forbidden—User does not have permission for the specified tenant
  • 503—Service Unavailable

Notes

User must have permission to the specified tenant ID. Use Query Tenants to get a list of valid tenant IDs for this logged in user.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on May 16, 2017, at 00:20.