Skip to main content

createOnPremiseResourceJWT Mutation

Creates a JWT that is used to perform registration of an On-Prem Resource. Rather than being short-lived, it is valid until the identity_key is changed.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_customers, org_crud_customers]. 2. The signed-in User has any of the following permissions for the access function context object 'customer': [customer_edit, customer_admin_manage_instances] when 'customer' is provided in the access function context.

Input fields (CreateOnPremiseResourceJWTInput!)

ArgumentTypeDescription
customerIdIDThe Customer associated with this resource.
orgOnlyBooleanSet to true to register an On-Prem Resource only available to Organization users. Only valid for Organization users.
resourceIdIDAn optional ID of an existing On-Prem Resource for which to generate a new JWT.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (CreateOnPremiseResourceJWTPayload)

clientMutationId (String)
errors ([ErrorType!]!)
result (CreateOnPremiseResourceJWTResult)