Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Identity__my Permissions

Requires a signed-in staff user. Send the `x-tenant` header (the gateway sets it from your API key).

QUERYidentity__myPermissions(tenant: String!): [RolePermission!]

Requires a signed-in staff user. Send the x-tenant header (the gateway sets it from your API key).

Arguments

tenant*String!

Returns

  1. identity__myPermissions
actions*[String!]!
collectionName*String!
Example Request
query Identity__myPermissions($tenant: String!) {  identity__myPermissions(tenant: $tenant) {    actions    collectionName  }}
Variables
{  "tenant": "string"}
Example Response
{  "data": {    "identity__myPermissions": [      {        "actions": [          "string"        ],        "collectionName": "string"      }    ]  }}