Anchor to standardMetaobjectDefinitionEnablestandard
standardMetaobjectDefinitionEnable
mutation
Requires access scope.
Enables the specified standard metaobject definition from its template.
Anchor to Arguments
Arguments
- Anchor to typetype•String!required
The type of the metaobject definition to enable.
Was this section helpful?
Anchor to StandardMetaobjectDefinitionEnablePayload returnsStandardMetaobjectDefinitionEnablePayload returns
- Anchor to metaobjectDefinitionmetaobject•
Definition The metaobject definition that was enabled using the standard template.
- Anchor to userErrorsuser•
Errors [MetaobjectUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation standardMetaobjectDefinitionEnable($type: String!) {
standardMetaobjectDefinitionEnable(type: $type) {
metaobjectDefinition {
# MetaobjectDefinition fields
}
userErrors {
field
message
}
}
}
Input
{
"type": "<your-type>"
}
{
"type": "<your-type>"
}