# Update stage

You can update a specific stage.

PUT /stages/:id/

Attributes Type Required Description
id integer yes A unique identifier for the stage which is given by User.com automatically.
description string yes A stage description.
name string yes A stage name.
pipeline integer yes A unique identifier for the pipeline which is given by User.com automatically.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X POST -H "Authorization: Token <your_64_char_api_key>" -H "Content-Type: application/json" 
       -H "Accept: */*; version=2" -d '{
      "pipeline": "6179"
      "name": "Updated stage"
      "description": "your description"
    }' "https://<your_app_subdomain>.user.com/api/public/stages/:id/"

# Response

{
    "id": 36584,
    "name": "Updated stage",
    "description": "your description",
    "pipeline": 6179,
    "order": 0
}

# Response