Skip to main content
PATCH
/
api
/
v1
/
organizations
/
{id}
/
Partial Update
curl --request PATCH \
  --url https://api.main.apexscore.ai/api/v1/organizations/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "business_type": "agency",
  "website": "<string>",
  "primary_contact_phone": "<string>",
  "needs": [
    "<string>"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string | null
Maximum length: 100
business_type
enum<string>
  • agency - agency
  • corporation - corporation
  • ngo - ngo
Available options:
agency,
corporation,
ngo
website
string<uri> | null
Maximum length: 200
primary_contact_phone
string | null
Maximum length: 31
needs
string[]

Response

200 - application/json
id
string<uuid>
required
name
string | null
Maximum length: 100
I