https://your-domain.atlassian.net/rest/api/3/component/{id}Updates a component. Any fields included in the request are overwritten. If `leadAccountId` is an empty string ("") the component lead is removed. This operation can be accessed anonymously. **Permissions required:** *Administer projects* project permission for the project containing the component or *Administer Jira* global permission.
The ID of the component.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/api/3/component/{id}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://your-domain.atlassian.net/rest/api/3/component/{id}Updates a component. Any fields included in the request are overwritten. If `leadAccountId` is an empty string ("") the component lead is removed. This operation can be accessed anonymously. **Permissions required:** *Administer projects* project permission for the project containing the component or *Administer Jira* global permission.
The ID of the component.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/api/3/component/{id}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}