---
title: "Update ServiceNow credentials"
method: PUT
path: "/enrichment/integrations/servicenow/credentials/{credentials_id}"
tags: ["Enrichment Integrations"]
---

# Update ServiceNow credentials

`PUT /enrichment/integrations/servicenow/credentials/{credentials_id}`

Updates the ServiceNow credentials. Supports partial updates — only the fields provided in the request are changed. If a password is provided, it replaces the stored password. The password is never returned.

<!-- theme: warning -->

> ### Early Access
> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.

Scoped OAuth requires: `contextual_data.write`

## Path parameters

- `credentials_id` string, required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Request body

- object
  - `credentials` ServiceNowCredentials, required
    - `id` string — Base32-encoded UUID v7 (26 uppercase alphanumeric characters) identifying the credentials.
    - `instance_endpoint` string — The ServiceNow instance URL (for example, `https://your-instance.service-now.com`).
    - `user` string — The ServiceNow username used to authenticate API requests. The user must have read access to the configured CMDB tables.
    - `password` string — The ServiceNow password. Only accepted in requests and never returned in responses.
    - `created_at` string, date-time — The date/time the credentials were created.
    - `updated_at` string, date-time — The date/time the credentials were last updated.
    - `deleted_at` string, date-time, nullable — The date/time the credentials were deleted, or `null` if they have not been deleted.

## Response `200`

The ServiceNow credentials were updated successfully. The password is never returned.

- object
  - `credentials` ServiceNowCredentials
    - `id` string — Base32-encoded UUID v7 (26 uppercase alphanumeric characters) identifying the credentials.
    - `instance_endpoint` string — The ServiceNow instance URL (for example, `https://your-instance.service-now.com`).
    - `user` string — The ServiceNow username used to authenticate API requests. The user must have read access to the configured CMDB tables.
    - `password` string — The ServiceNow password. Only accepted in requests and never returned in responses.
    - `created_at` string, date-time — The date/time the credentials were created.
    - `updated_at` string, date-time — The date/time the credentials were last updated.
    - `deleted_at` string, date-time, nullable — The date/time the credentials were deleted, or `null` if they have not been deleted.

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `404` — The requested resource was not found.
- `429` — Too many requests have been made, the rate limit has been reached.
- `500` — Internal Server Error the PagerDuty server experienced an error.

---

[API](https://skmtc.net/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.net/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagerduty/rest-api/revisions/b679a8f3f02c/schema)
