Renew caller-owned grants against the exact reviewed snapshot and requested expiry. Current workspace authorization and existing mailbox consent remain required.
POST
/api/identity/renewal
const url = 'https://example.com/api/identity/renewal';const options = { method: 'POST', headers: { cookie: 'supacloud_session=<supacloud_session>', 'Content-Type': 'application/json' }, body: '{"expires_at":"2026-04-15T12:00:00Z","snapshot":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/identity/renewal \ --header 'Content-Type: application/json' \ --cookie supacloud_session=<supacloud_session> \ --data '{ "expires_at": "2026-04-15T12:00:00Z", "snapshot": "example" }'Renew caller-owned grants against the exact reviewed snapshot and requested expiry. Current workspace authorization and existing mailbox consent remain required.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
expires_at
required
string format: date-time
snapshot
required
string
Example generated
{ "expires_at": "2026-04-15T12:00:00Z", "snapshot": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
count
required
integer
Example generated
{ "count": 1}