Update Attribute

Partial update of an attribute. Any fields not sent in the body cause no changes, fields sent as null in the body remove them from the attribute.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Access requirements

The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:

Admin API Key roles accepted

  • API_ALL_GRANTED
  • API_ADMIN
  • API_WORKSPACE_ADMIN

Admin API Key scopes accepted

  • GLOBAL
  • WORKSPACE

To learn more about Admin API Key roles and scopes, see API keys overview.


Path Params
string
required

The project (workspace) associated with the attribute. After migration to Harness, get this value using the Get Projects (Workspaces) endpoint and the Harness project name.

string
required

The traffic type ID associated with the attribute

string
required

The ID of attribute to update

Form Data
string
Defaults to { "displayName": "An Attribute", "description": "my description here", "dataType": "string", "suggestedValues": [ "suggested", "values" ] }
Headers
string
Defaults to Bearer ADMIN_API_KEY
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json