Skip to main content

CreateCredentialPayload

The response payload returned after successfully creating an API credential. It includes the newly created Credential object, which represents the API credential, as well as an AccessToken object that can be used to authenticate requests to the Hub API.

type CreateCredentialPayload {
credential: Credential!
accessToken: AccessToken!
}

Fields​

CreateCredentialPayload.credential ● Credential! non-null object​

A Credential object representing the newly created API credential.

CreateCredentialPayload.accessToken ● AccessToken! non-null object​

An AccessToken object that can be used to authenticate requests to the Hub API.

Returned by​

createCredential mutation