Skip to main content
PATCH
/
api
/
v1
/
teams
Update team
curl --request PATCH \
  --url https://neo.api.projectdiscovery.io/api/v1/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auto_join_enabled": true,
  "name": "<string>",
  "webhook_secret_name": "<string>",
  "webhook_url": "<string>"
}
'
{
  "team": {
    "created_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "max_members": 2,
    "member_count": 1,
    "name": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "auto_join_enabled": true,
    "default_spending_cap_usd": 123,
    "is_domain_verified": true,
    "webhook_secret_name": "<string>",
    "webhook_url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
auto_join_enabled
boolean

Enable auto-join for users with matching email domain

name
string

New team name

Required string length: 1 - 128
webhook_secret_name
string

Name of a team owner secret used as a Bearer token when calling the webhook. Pass an empty string to clear.

webhook_url
string<uri>

Webhook URL for webhook-mode task completion notifications. Pass an empty string to clear.

Response

Team updated

team
object
required