← All types
In Input object

CreatePortalAPICredentialInput

Request to issue a Portal API credential.

Fields

Portal the credential authenticates against.

Active membership of that Portal the credential acts through.

Seconds until the credential expires, 1 to 31536000 (one year).

Optional action ceiling such as order:read; omit for no extra restriction.

Referenced by (1)
Exact type SDL
"""Request to issue a Portal API credential."""
input CreatePortalAPICredentialInput {
  """Portal the credential authenticates against."""
  portalId: PortalID!
  """Active membership of that Portal the credential acts through."""
  membershipId: PortalMembershipID!
  """Seconds until the credential expires, 1 to 31536000 (one year)."""
  lifetimeSeconds: Int!
  """
  Optional action ceiling such as `order:read`; omit for no extra restriction.
  """
  permissions: [String!]
}