Skip to main content

credentials Query

Returns a Relay Connection to a collection of Credential objects.

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_integrations, org_view_integrations]. 2. The signed-in User has any of the following permissions for the associated Organization: [org_manage_customers, org_view_customers, org_manage_integrations, org_view_integrations]. 3. The signed-in User has any of the following permissions for the object's 'customer' attribute: [customer_view, customer_edit, customer_remove, customer_admin_users, customer_view_users, customer_admin_instance_permissions, customer_view_instances].

Input fields

ArgumentTypeDescription
beforeStringSpecifies a cursor for use in combination with last to implement backward pagination.
afterStringSpecifies a cursor for use in combination with first to implement forward pagination.
firstIntA non-negative integer that specifies to return at most first edges after the after cursor.
lastIntA non-negative integer that specifies to return at most last edges before the before cursor.
offsetInt
label_IcontainsStringFilter for objects where label contains the specified value (case insensitive).
customerIDFilter for objects where customer matches the specified ID.
customer_IsnullBooleanFilter for objects where customer is NULL.
readyForUseBooleanFilter for objects where readyForUse matches the specified value.
authorizationMethod_KeyStringFilter for objects where authorizationMethod.key matches the specified value.
orderByCredentialOrderDEPRECATED. Prefer using sort_by instead as it allows ordering by many fields.
sortBy[CredentialOrder]Allows specifying many field and direction pairs to sort results by.

Return fields (CredentialConnection!)

edges ([CredentialEdge]!)

List of edges containing the nodes in this connection.

nodes ([Credential]!)

List of nodes in this connection.

pageInfo (PageInfo!)

Pagination data for this connection.

totalCount (Int!)

Total count of nodes available.