Skip to main content
PUT
/
workspaces
/
{id}
Edit workspace
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"
}

Authorizations

Authorization
string
header
required

Use the "API key" from the profile page as the token

Path Parameters

id
integer
required

id of workspace to get

Body

application/json
name
string
Example:

"My Workspace"

description
string
Example:

"My Workspace description"

Response

No content