Skip to main content

patchKey

PATCH 

/v1/projects/:project_id/keys/:key_id

Patch a key

Request

Path Parameters

    project_id stringrequired

    Project ID

    key_id stringrequired

    Key ID

Body

required
    public_key public-key

Responses

Updated key

Schema
    id stringrequired
    project_id stringrequired
    public_key stringrequired
    key_type stringrequired

    Possible values: [rsa, ec, ed448, ed25519]

    fingerprint stringrequired
    last_used date-timenullable
    use_count integer
    created_at date-timerequired
    updated_at date-timerequired
Loading...