Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (32 loc) · 694 Bytes

update-roadmap-name.md

File metadata and controls

47 lines (32 loc) · 694 Bytes

POST /api/roadmaps/:roadmapId/name

Description

This endpoint is used to update the name of a roadmap.

Request

Parameters

  • roadmapId: Id of the roadmap to update. (required - included in path)

Body

{
  "name": "string"
}

Headers

  • cookie: token=... (required)

Response

{
  "success": true,
  "message": "Roadmap updated"
}

Response Codes

Code Description
200 Success
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found.
500 Internal Server Error.

Cookies

None