curl --request GET \
--url https://api.projectdiscovery.io/v1/user \
--header 'X-API-Key: <api-key>'
{
"ai_status": true,
"email": "<string>",
"name": "<string>",
"message": "<string>",
"cloud_scans": true,
"static_scan": true,
"early_template": true,
"team_name": "<string>",
"is_team_owner": true,
"is_read_only": true,
"team_owner_name": "<string>",
"trial_status": "<string>",
"role": "<string>",
"plan": "<string>",
"personal_account_plan": "<string>",
"applied_promo_code": "<string>",
"full_port_scan": true,
"workspaces": [
{
"name": "<string>",
"team_id": "<string>",
"active": true,
"plan": "<string>",
"member_count": 123,
"role": "<string>",
"default": true
}
]
}
Get user profile and permissions
curl --request GET \
--url https://api.projectdiscovery.io/v1/user \
--header 'X-API-Key: <api-key>'
{
"ai_status": true,
"email": "<string>",
"name": "<string>",
"message": "<string>",
"cloud_scans": true,
"static_scan": true,
"early_template": true,
"team_name": "<string>",
"is_team_owner": true,
"is_read_only": true,
"team_owner_name": "<string>",
"trial_status": "<string>",
"role": "<string>",
"plan": "<string>",
"personal_account_plan": "<string>",
"applied_promo_code": "<string>",
"full_port_scan": true,
"workspaces": [
{
"name": "<string>",
"team_id": "<string>",
"active": true,
"plan": "<string>",
"member_count": 123,
"role": "<string>",
"default": true
}
]
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?