v1

latestOpenAPI 3.0.02026-07-2688129326.6 KB
Organisations

Update Organisations

patch/v1/organizers/{organizerId}

Path parameters

organizerIdstring objectId required

Resource identifier.

Request body

namestring nullable
{"stackTrail":"components:schemas:organizerUpdate:properties:media","oasType":"schema","type":"unknown","nullable":true}
{"stackTrail":"components:schemas:organizerUpdate:properties:parentId","oasType":"schema","type":"unknown","nullable":true}
type'planner' | 'club' | 'artist' | 'other' required
slugstring nullable

Example request

{
  "name": "x",
  "contact": {
    "email": "user@example.com",
    "phone": "string",
    "name": "string"
  },
  "details": {
    "type": "forum",
    "experience": "beginner",
    "aim": "sellTickets"
  },
  "slug": "string"
}

Response

Success

namestring nullable
{"stackTrail":"components:schemas:organizer:properties:media","oasType":"schema","type":"unknown","nullable":true}
{"stackTrail":"components:schemas:organizer:properties:parentId","oasType":"schema","type":"unknown","nullable":true}
type'planner' | 'club' | 'artist' | 'other' required
slugstring nullable
_idstring objectId required
_createdAtstring date-time required
_updatedAtstring date-time nullable
_referencestring nullable

Example response

{
  "name": "x",
  "contact": {
    "email": "user@example.com",
    "phone": "string",
    "name": "string"
  },
  "details": {
    "type": "forum",
    "experience": "beginner",
    "aim": "sellTickets"
  },
  "slug": "string",
  "_id": "64b7f8b6f23a4a4f3d0a9b12",
  "_createdAt": "2024-01-01T00:00:00.000Z",
  "_updatedAt": "2024-01-01T00:00:00.000Z",
  "_reference": "string"
}