Rotate S3 Storage Credentials
curl --request POST \
--url https://api.zerodrive.dev/v1/me/credentials/rotate \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/me/credentials/rotate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/me/credentials/rotate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}Rotate S3 Storage Credentials
Revoke the active S3 key pair and issue a new active pair (device token required).
POST
https://api.zerodrive.dev
/
v1
/
me
/
credentials
/
rotate
Rotate S3 Storage Credentials
curl --request POST \
--url https://api.zerodrive.dev/v1/me/credentials/rotate \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/me/credentials/rotate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/me/credentials/rotate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}
