Rotate Pull Token
curl --request POST \
--url https://api.example.com/api/v1/pull/subscriptions/{subscription_id}/tokenimport requests
url = "https://api.example.com/api/v1/pull/subscriptions/{subscription_id}/token"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v1/pull/subscriptions/{subscription_id}/token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"token": "<string>",
"token_prefix": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}pull
Rotate Pull Token
POST
/
api
/
v1
/
pull
/
subscriptions
/
{subscription_id}
/
token
Rotate Pull Token
curl --request POST \
--url https://api.example.com/api/v1/pull/subscriptions/{subscription_id}/tokenimport requests
url = "https://api.example.com/api/v1/pull/subscriptions/{subscription_id}/token"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v1/pull/subscriptions/{subscription_id}/token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"token": "<string>",
"token_prefix": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}