Docs
GraphQL referenceMutations

Update Music Library Subcategory

MUTATIONupdateMusicLibrarySubcategory(input: UpdateMusicLibrarySubcategoryInput!): MusicLibrarySubcategoryMutationOutput!

Access: Requires the music_subcategories:write permission. Requires the music scheduling add-on.

Arguments

input*

Returns

  1. updateMusicLibrarySubcategory
message?String
subcategory?
success*Boolean!
Example Request
mutation UpdateMusicLibrarySubcategory($input: UpdateMusicLibrarySubcategoryInput!) {  updateMusicLibrarySubcategory(input: $input) {    message    subcategory {      category {        createdAt        id        libraryId        name        shortId        updatedAt      }      categoryId      color      createdAt      id      libraryId      name      shortId      updatedAt    }    success  }}
Variables
{  "input": {    "id": "1"  }}
Example Response
{  "data": {    "updateMusicLibrarySubcategory": {      "message": "string",      "subcategory": {        "category": {          "createdAt": "<DateTime>",          "id": "1",          "libraryId": "1",          "name": "string",          "shortId": "string",          "updatedAt": "<DateTime>"        },        "categoryId": "1",        "color": "string",        "createdAt": "<DateTime>",        "id": "1",        "libraryId": "1",        "name": "string",        "shortId": "string",        "updatedAt": "<DateTime>"      },      "success": true    }  }}