cURL
curl --request PUT \ --url https://app.pentest-tools.com/api/v2/workspaces/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "My Workspace", "description": "My Workspace description" } '
{ "status": 401, "message": "No API key specified" }
Use the "API key" from the profile page as the token
id of workspace to get
"My Workspace"
"My Workspace description"
No content
Was this page helpful?