Skip to main content

setEnvironmentDefault

Set a resource as the default of its type for an environment. All instances in the environment will automatically inherit this resource. Only one resource per type can be the default — remove the existing default first to change it.

setEnvironmentDefault(
organizationId: ID!
environmentId: ID!
resourceId: ID!
): EnvironmentDefaultPayload

Arguments

setEnvironmentDefault.organizationId ● ID! non-null scalar {#organization-id}

Your organization ID

setEnvironmentDefault.environmentId ● ID! non-null scalar {#environment-id}

The environment to set the default on

setEnvironmentDefault.resourceId ● ID! non-null scalar {#resource-id}

The resource to set as the default for its type

Type

EnvironmentDefaultPayload object