Skip to main content

RootMutationType

No description

type RootMutationType {
uploadAvatar(
image: Upload!
): AvatarPayload
createApiKey(
organizationId: ID!
name: String!
): ApiKeyPayload
deleteApiKey(
organizationId: ID!
id: ID!
): ApiKeyPayload
deactivateApiKey(
organizationId: ID!
id: ID!
): ApiKeyPayload
reactivateApiKey(
organizationId: ID!
id: ID!
): ApiKeyPayload
createArtifact(
organizationId: ID!
name: String!
type: String!
specs: JSON!
data: JSON!
): ArtifactPayload
deleteArtifact(
organizationId: ID!
id: ID!
): ArtifactPayload
createBillingSubscription(
organizationId: ID!
planId: ID!
): BillingSubscriptionPayload
createContainerRepository(
organizationId: ID!
name: String!
location: String!
artifactId: ID!
cloud: String!
): ContainerRepositoryPayload
disconnectContainerRepository(
organizationId: ID!
id: ID!
): ContainerRepositoryPayload
connectContainerRepository(
organizationId: ID!
name: String!
location: String!
cloudProviderId: String!
cloud: String!
): ContainerRepositoryPayload
deployPackage(
organizationId: ID!
targetId: ID!
manifestId: ID!
): DeploymentPayload
decommissionPackage(
organizationId: ID!
targetId: ID!
manifestId: ID!
): DeploymentPayload
linkManifests(
organizationId: ID!
srcManifestId: ID!
srcManifestField: String!
destManifestId: ID!
destManifestField: String!
): LinkPayload
unlinkManifests(
organizationId: ID!
linkId: ID!
): LinkPayload
createDnsZone(
organizationId: ID!
name: String!
location: String!
artifactId: ID!
cloud: String!
): DnsZonePayload
connectDnsZone(
organizationId: ID!
name: String!
location: String!
cloudProviderId: String!
cloud: String!
): DnsZonePayload
disconnectDnsZone(
organizationId: ID!
id: ID!
): DnsZonePayload
createManifest(
organizationId: ID!
bundleId: ID!
projectId: ID!
name: String!
slug: String!
description: String
): ManifestPayload
updateManifest(
organizationId: ID!
id: ID!
name: String!
description: String
): ManifestPayload
deleteManifest(
organizationId: ID!
id: ID!
): ManifestPayload
createOrganization(
name: String!
slug: String!
): OrganizationPayload
configurePackage(
organizationId: ID!
manifestId: ID!
targetId: ID!
params: JSON!
): PackagePayload
createProject(
organizationId: ID!
name: String!
description: String
slug: String!
): ProjectPayload
updateProject(
organizationId: ID!
id: ID!
name: String!
description: String
): ProjectPayload
deleteProject(
organizationId: ID!
id: ID!
): ProjectPayload
createTargetConnection(
organizationId: ID!
artifactId: ID!
targetId: ID!
): TargetConnectionPayload
deleteTargetConnection(
organizationId: ID!
id: ID!
): TargetConnectionPayload
createTarget(
organizationId: ID!
projectId: ID!
name: String!
slug: String!
description: String
): TargetPayload
updateTarget(
organizationId: ID!
id: ID!
name: String!
description: String
): TargetPayload
deleteTarget(
organizationId: ID!
id: ID!
): TargetPayload
inviteMemberToOrganization(
email: String!
groupId: ID!
organizationId: ID!
): InvitationPayload
acceptInvitation(
invitationId: ID!
): MembershipPayload
createSubscriptionManagementSession(
organizationId: ID!
): SessionPayload
}

Fields‚Äč

uploadAvatar (AvatarPayload)‚Äč

Upload an avatar for an account.

createApiKey (ApiKeyPayload)‚Äč

Creates an API key

deleteApiKey (ApiKeyPayload)‚Äč

deactivateApiKey (ApiKeyPayload)‚Äč

reactivateApiKey (ApiKeyPayload)‚Äč

createArtifact (ArtifactPayload)‚Äč

Create an artifact

deleteArtifact (ArtifactPayload)‚Äč

Delete an artifact.

Artifacts cannot be deleted if provisioned by Massdriver.

createBillingSubscription (BillingSubscriptionPayload)‚Äč

createContainerRepository (ContainerRepositoryPayload)‚Äč

disconnectContainerRepository (ContainerRepositoryPayload)‚Äč

connectContainerRepository (ContainerRepositoryPayload)‚Äč

deployPackage (DeploymentPayload)‚Äč

Enqueues a package for deployment

decommissionPackage (DeploymentPayload)‚Äč

Enqueues a package for decommissioning

linkManifests (LinkPayload)‚Äč

Links two manifests

unlinkManifests (LinkPayload)‚Äč

createDnsZone (DnsZonePayload)‚Äč

connectDnsZone (DnsZonePayload)‚Äč

disconnectDnsZone (DnsZonePayload)‚Äč

createManifest (ManifestPayload)‚Äč

Adds a bundle to a project

updateManifest (ManifestPayload)‚Äč

Update a manifest

deleteManifest (ManifestPayload)‚Äč

Removes a manifest from a project. This will fail if infrastructure is still provisioned in an environment.

createOrganization (OrganizationPayload)‚Äč

Create an organization

configurePackage (PackagePayload)‚Äč

Update a Package's parameters

createProject (ProjectPayload)‚Äč

Create a project

updateProject (ProjectPayload)‚Äč

Update a project

deleteProject (ProjectPayload)‚Äč

createTargetConnection (TargetConnectionPayload)‚Äč

Connect an artifact as the default artifact type for a given environment

deleteTargetConnection (TargetConnectionPayload)‚Äč

Disconnect an artifact as the default artifact type for a given environment.

This is a potentially dangerous/destructive action.

For example, changing the default VPC will cause all resources to be deleted and recreated in the new VPC.

createTarget (TargetPayload)‚Äč

Create an environment

updateTarget (TargetPayload)‚Äč

Update an environment

deleteTarget (TargetPayload)‚Äč

Removes an environment from a project. This will fail if infrastructure is still provisioned in the environment.

inviteMemberToOrganization (InvitationPayload)‚Äč

Invites a user

acceptInvitation (MembershipPayload)‚Äč

Allows users to accept invitations

createSubscriptionManagementSession (SessionPayload)‚Äč

Create a stripe subscription management session