Mutation
mutation CreateWorkflowShareLink($input: CreateWorkflowShareLinkInput!) {
createWorkflowShareLink(input: $input) {
token
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"workflowId": "id"
}
}Response
{
"data": {
"createWorkflowShareLink": {
"token": "string",
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
createWorkflowShareLink
Create a content-addressed share link for a workflow. Returns a short token that can be used to load the workflow in another workspace.
MUTATION
createWorkflowShareLink(input: CreateWorkflowShareLinkInput!): CreateWorkflowShareLinkOutput!Arguments
input
required
Returns
token
String
error
Mutation
mutation CreateWorkflowShareLink($input: CreateWorkflowShareLinkInput!) {
createWorkflowShareLink(input: $input) {
token
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"workflowId": "id"
}
}Response
{
"data": {
"createWorkflowShareLink": {
"token": "string",
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

