Soft-deletes a scheduled revenue-share window: the row is flagged deleted and stamped with deletedAt rather than removed. The response is 200 OK with no body.
Because the delete is soft, the window’s dates no longer count toward the 409 overlap check on future creates or edits: that check only looks at schedules where deleted = 0.
404 means no schedule with this scheduledRevShareId exists for the resolved group. Deleting the same schedule again returns 200, so the call is safe to retry.
Authorizations
Section titled “Authorizations”Send your secret API key (nexus_sk_...) in the X-SHARED-SECRET header. Generate one in the Publisher Dashboard.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Example
2ixlNNFdJh-9scoXek80wThe scheduled rev share’s id (ScheduledRevShare.uuid) to delete.
Query Parameters
Section titled “Query Parameters”Example
V1StGXR8_Z5jdHi6B1LiOCreator group the schedule belongs to. If your key is scoped to a single program, that group is always used regardless of this value; otherwise falls back to your default group when omitted.
Responses
Section titled “ Responses ”The schedule was soft-deleted. No response body.
groupId did not match a creator group on your account, or scheduledRevShareId did not match any scheduled rev share for that group.
const url = 'https://api.nexus.gg/v1/manage/scheduled-rev-shares/2ixlNNFdJh-9scoXek80w?groupId=V1StGXR8_Z5jdHi6B1LiO';const options = {method: 'DELETE', headers: {'X-SHARED-SECRET': 'nexus_sk_your_key_here'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'https://api.nexus.gg/v1/manage/scheduled-rev-shares/2ixlNNFdJh-9scoXek80w?groupId=V1StGXR8_Z5jdHi6B1LiO' \ --header 'X-SHARED-SECRET: nexus_sk_your_key_here'