V3 > Share
Creates a new token.
Changed onCreates a new token associated with the provided share based on the provided parameters..
post/2/vod/shares/{share}/token
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/vod/shares/{share}/token
- AuthHTTP bearer
Path parameters
sharestring required
Headers
X-Ik-Token-Enforce-Ipboolean
Extra header to pass if ip_address should be used, if this header isn't passed, the ip_address field will be ignored.
Request body
Example request
{
"expires_at": "\"toto\"",
"ip_address": "192.168.31.1",
"payload": "\"toto\"",
"salt": "\"toto\"",
"session": "\"toto\"",
"starts_at": "\"toto\"",
"strategy": "hls"
}Response
OK
Example response
{
"result": "success"
}Changes
- info
api operation id
VODCreatesANewTokenV2removed and replaced with
- info