Skip to main content
PUT
/
api
/
v1
/
school
/
general-settings
/
{id}
Update general settings
curl --request PUT \
  --url https://api.example.com/api/v1/school/general-settings/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "phone": "<string>",
  "email": "jsmith@example.com",
  "school_name": "<string>",
  "logo": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

A UUID string identifying this general settings.

Body

Auto-populate created_by from request.user when available.

address
string
required
Required string length: 1 - 255
phone
string
required
Required string length: 1 - 255
email
string<email>
required
Required string length: 1 - 254
school_name
string
required
Required string length: 1 - 255
logo
file | null

Response

{key}
any