Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[DEPRECATED] CustomFieldOptions
[DEPRECATED] CustomFields
CustomForms
DashboardPanels
Dashboards
Environments
EscalationPolicies
EscalationLevelsPolicies
EscalationLevelsPath
EscalationLevels
EscalationPaths
FormFieldOptions
FormFieldPlacementConditions
FormFieldPlacements
FormFieldPositions
FormFields
FormSetConditions
FormSets
Functionalities
WorkflowTasks
[DEPRECATED] WorkflowCustomFieldSelections
WorkflowFormFieldConditions
WorkflowGroups
WorkflowRuns
Workflows
Heartbeats
IncidentActionItems
[DEPRECATED] IncidentCustomFieldSelections
IncidentEventFunctionalities
IncidentEventServices
IncidentEvents
IncidentFeedbacks
IncidentFormFieldSelections
IncidentPermissionSetBooleans
IncidentPermissionSetResources
IncidentPermissionSets
IncidentRetrospectives
IncidentRetrospectiveSteps
IncidentRoleTasks
IncidentRoles
IncidentStatusPageEvents
IncidentSubStatuses
IncidentTypes
Incidents
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
Secrets
Update a secret
Secrets
Update a secret
Update a specific secret by id
PUT
/
v1
/
secrets
/
{id}
curl --request PUT \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "secrets",
"attributes": {
"name": "<string>",
"secret": "<string>",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": "<string>",
"hashicorp_vault_version": 0
}
}
}'
{
"data": {
"id": "b6486f9d-f527-4e5f-ace1-85e1907b2d48",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "foo_bar",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-03-19T17:43:19.994-07:00",
"updated_at": "2025-03-19T17:43:23.276-07:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Available options:
secrets
The name of the secret
The secret
The HashiCorp Vault secret mount path
The HashiCorp Vault secret path
The HashiCorp Vault secret version
Response
200
application/vnd.api+json
secret updated
Unique ID of the secret
Available options:
secrets
The name of the secret
Date of creation
Date of last update
The redacted secret
The HashiCorp Vault secret mount path
The HashiCorp Vault secret path
The HashiCorp Vault secret version
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "secrets",
"attributes": {
"name": "<string>",
"secret": "<string>",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": "<string>",
"hashicorp_vault_version": 0
}
}
}'
{
"data": {
"id": "b6486f9d-f527-4e5f-ace1-85e1907b2d48",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "foo_bar",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-03-19T17:43:19.994-07:00",
"updated_at": "2025-03-19T17:43:23.276-07:00"
}
}
}