Skip to main content

createNewFolder

Create a new folder Returns the ID of the newly created folder

!! This mutation is subject to change in the near future We will need to implement multiple endpoints or a wrapper class to pass on the journeyReference

Possible exception(s) that can be thrown:

  • Validation Exception when the the journey of type and reference is already used for a folder.
createNewFolder(
organisationId: ID!
createFolder: CreateFolderInput!
): ID!

Arguments

createNewFolder.organisationId ● ID! non-null scalar

createNewFolder.createFolder ● CreateFolderInput! non-null input

Type

ID scalar

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.