Open Cloud Banning API

So I have this piece of code:

{
“path”: “universes/…/user-restrictions/{request.response.id}”,
“gameJoinRestriction”: {
“active”: true,
“duration”: -1,
“privateReason”: “Issued on”,
“displayReason”: “{option_reason}”,
“excludeAltAccounts”: true
}
}

I am currently creating a Discord to Roblox Moderation Bot which utilises the Open Cloud API. I’m making a ban command and I want to make the duration permanent however it only seems to accept number and s e.g 500s. It states for a permanent ban, it needs to be -1. So how do I issue a permanent ban using the API

The Roblox Open Cloud API Documentation provides the schema for this endpoint as follows:

UserRestriction{
  ...
  UserRestriction_GameJoinRestriction {
    ...
    duration	       string($duration)
      - example: 3s
      - The duration of the restriction.
      - If not specified, the restriction is permanent. If specified, the range must be from 1 second to 315,576,000,000 seconds, inclusive. Durations with sub-second precision are not permitted.
    ...
  }
  ...
}

So the answer is: The docs seem to state that you should not include the duration field in the request body if you want a permanent ban. Otherwise duration must be a positive value from 1 second to 315,576,000,000 seconds.