Apps & SurfacesMu Mutation

createPortalAPICredential

Topics: Surfaces

Issue a bearer API credential for a membership. The secret is returned only in this response.

Returns

CreatePortalAPICredentialPayload!

Arguments

Membership, lifetime and optional restrictions of the credential.

Exact field SDL
"""
Issue a bearer API credential for a membership. The secret is returned only in this response.
"""
createPortalAPICredential(
  """Membership, lifetime and optional restrictions of the credential."""
  input: CreatePortalAPICredentialInput!
): CreatePortalAPICredentialPayload! @topic(names: ["surfaces"])

Declared on Mutation. Access is checked by the platform for each operation.