Skip to main content

Edit key

PUT https://www.digicert.com/services/v2/key/{{key_id}}

Use this endpoint to edit an API key's name or access role restrictions.

Example requests and responses

Request parameters

Name

Req/Opt

Type

Description

name

required

string

Updated name for the key.

restricted_to_role_id

optional

int

To limit API key permissions, specify the API access role ID.

Allowed values: 0, 100, 101, 102, 103. For more information, see Glossary – API key roles.