curl --request POST \
--url https://app.plugchoice.com/api/v3/sites/{site}/teams/{team}/grant-sensitive-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expires_never": true,
"data_access_expires_at": "<string>"
}
'{
"message": "<string>"
}curl --request POST \
--url https://app.plugchoice.com/api/v3/sites/{site}/teams/{team}/grant-sensitive-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expires_never": true,
"data_access_expires_at": "<string>"
}
'{
"message": "<string>"
}true for permanent access.expires_never is false. Must be a future date.