Skip to main content

deleteResourceType

[DEPRECATED]

Transitional shim from V0 deleteArtifactDefinition during the migration to OCI-hosted resource types. Prefer the OCI-native publishing flow; this mutation may be removed without notice.

Deprecated — use at your own risk. This mutation exists only to bridge V0's deleteArtifactDefinition into V2 while resource types are being migrated to OCI. New integrations should use the OCI-native publishing flow. This mutation may be removed or change behavior without notice.

Delete a resource type. The resource type cannot be deleted while it is still in use — either as a dependency or output in a bundle, or by any existing imported/provisioned resources of this type. Remove those consumers first.

deleteResourceType(
organizationId: ID!
id: ID!
): ResourceTypePayload @deprecated

Arguments

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

Your organization's unique identifier.

deleteResourceType.id ● ID! non-null scalar {#id}

The resource type identifier (e.g., aws-iam-role).

Type

ResourceTypePayload object