cURL
curl --request PATCH \ --url https://api.onecli.sh/v1/projects/{projectId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "id": "<string>", "name": "<string>", "slug": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Updates a project’s name and slug. Requires admin role.
Documentation IndexFetch the complete documentation index at: https://onecli.sh/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key obtained from the dashboard or GET /user/api-key
GET /user/api-key
2 - 50
Project updated