This API you can change to the position of tag/tracks. The tag/tracks default position will be 1000.
In this API you need to pass three path parameters to change a tag/track's posiotion.
id :
Tag/Tracks' id whose position we are changing
topKeyValueId :
Id of tag/track below which current tag/track we want to place. Pass 0 if you want to move tag/track at top of the list.
topBottomKeyValueId:
Id of tag/track above which current tag/track we want to place. Pass 0 if you want to move tag/track at bottom of the list.
For example: Let assume we have four tags called Tag-1, Tag-2, Tag-3, Tag-4.
Now if we want to move Tag-4 between Tag-2 and Tag-3 you need to send Tag-2's id as topKeyValueId and Tag-3's id as topBottomKeyValueId.
If we want to move Tag-2 to the last position then you need to send Tag-4's id as topKeyValueId and 0 as topBottomKeyValueId.
If we want to move Tag-1 to the first position then you need to send 0 as topKeyValueId and Tag-1 id as topBottomKeyValueId.
This API can be used by authenticated users only, and it will require super admin/admin/staff level access.