Mutation
mutation UpdateLifecycle($input: UpdateLifecycleInput!) {
updateLifecycle(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
lifecycle {
activeRevision
cardDefinition {
activationStatus {
__typename
}
activePropertySet {
__typename
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
cardDefinitionId
createdAt
etag
id
}
}
}Variables
{
"input": {
"lifecycleId": "value"
}
}Response
{
"data": {
"updateLifecycle": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"lifecycle": {
"activeRevision": "value",
"cardDefinition": {
"activationStatus": {
"__typename": "WorkflowStatus"
},
"activePropertySet": {
"__typename": "PropertySet"
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
},
"cardDefinitionId": "string",
"createdAt": "value",
"etag": "value",
"id": "id"
}
}
}
}Mutations
updateLifecycle
Replace pending changes, or discard them by supplying null. The ETag must match.
MUTATION
updateLifecycle(input: UpdateLifecycleInput!): UpdateLifecyclePayload!Arguments
input
required
Returns
errors
lifecycle
Mutation
mutation UpdateLifecycle($input: UpdateLifecycleInput!) {
updateLifecycle(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
lifecycle {
activeRevision
cardDefinition {
activationStatus {
__typename
}
activePropertySet {
__typename
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
cardDefinitionId
createdAt
etag
id
}
}
}Variables
{
"input": {
"lifecycleId": "value"
}
}Response
{
"data": {
"updateLifecycle": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"lifecycle": {
"activeRevision": "value",
"cardDefinition": {
"activationStatus": {
"__typename": "WorkflowStatus"
},
"activePropertySet": {
"__typename": "PropertySet"
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
},
"cardDefinitionId": "string",
"createdAt": "value",
"etag": "value",
"id": "id"
}
}
}
}Was this page helpful?