tenantPortalLogin

Generate a short lived link to open the customer portal for a tenant. The tenantPortalLogin mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: portal_assume:write

mutation tenantPortalLogin ($tenantId: ID, $tenantCode: String) {
  tenantPortalLogin (tenantId: $tenantId, tenantCode: $tenantCode) {
      errors
      portalUrl
  }
}

ArgumentsLink to Arguments section

{
  "tenantId": "456123",
  "tenantCode": ""
}
Name Type Description
tenantId ID  
tenantCode String  

ResponseLink to Response section

Name Type Description
errors List (String)  
portalUrl String