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!)
Argument | Type | Description |
---|---|---|
customerId | ID | The Customer associated with this resource. |
orgOnly | Boolean | Set to true to register an On-Prem Resource only available to Organization users. Only valid for Organization users. |
resourceId | ID | An optional ID of an existing On-Prem Resource for which to generate a new JWT. |
clientMutationId | String | A unique identifier for the client performing the mutation. |