Skip to main content
POST
/
v3
/
sites
/
{site}
/
teams
/
{team}
/
request-sensitive-data
Request Sensitive Access
curl --request POST \
  --url https://app.plugchoice.com/api/v3/sites/{site}/teams/{team}/request-sensitive-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>",
  "requested_expires_never": true,
  "requested_data_expires_at": "<string>"
}
'
{
  "message": "<string>"
}
Sends a request for sensitive data access on behalf of the specified team. The location owner will be notified to approve or deny the request.
site
string
required
The UUID of the location.
team
string
required
The UUID of the team requesting access.
reason
string
required
The reason for requesting sensitive data access. Maximum 255 characters.
requested_expires_never
boolean
required
Whether the requested access should never expire. Set to true for permanent access.
requested_data_expires_at
string
ISO 8601 date for when the requested access should expire. Required when requested_expires_never is false. Must be a future date.

Response

message
string
A confirmation message indicating the sensitive data access request was sent successfully.