v1

latestOpenAPI 3.0.12026-07-177949123.5 KB
v1/endentity

Edit existing end entity

Edit end entity based on provided data

post/v1/endentity/edit

Request body

usernamestring

Username

passwordstring

Password

subject_dnstring

Subject Distinguished Name

subject_alt_namestring

Subject Alternative Name (SAN)

emailstring

Email

ca_namestring

Certificate Authority (CA) name

certificate_profile_namestring

Certificate profile name

end_entity_profile_namestring

End Entity profile name

token'USERGENERATED, P12, JKS, PEM'

Token type property

account_binding_idstring

Account Binding ID

key_recoverableboolean

Key recoverable or not

status'NEW, FAILED, INITIALIZED, INPROCESS, GENERATED, REVOKED, HISTORICAL, KEYRECOVERY, WAITINGFORADDAPPROVAL'

End entity status property

send_notificationboolean

Send notification or not

start_timestring

Valid start time

end_timestring

Valid end time

certificate_serial_numberinteger

Certificate Serial Number

card_numberstring

Card Number

Example request

{
  "username": "JohnDoe",
  "password": "foo123",
  "subject_dn": "CN=John Doe,SURNAME=Doe,GIVENNAME=John,C=SE",
  "subject_alt_name": "rfc822Name=john.doe@example.com",
  "email": "john.doe@example.com",
  "extension_data": [
    {
      "name": "1.3.6.1.5.5.7.1.24/customdata_STARTTIME",
      "value": "3003020105/2022-12-13 00:00:00"
    }
  ],
  "custom_data": [
    {
      "name": "1.3.6.1.5.5.7.1.24/customdata_STARTTIME",
      "value": "3003020105/2022-12-13 00:00:00"
    }
  ],
  "ca_name": "ExampleCA",
  "certificate_profile_name": "ENDUSER",
  "end_entity_profile_name": "ExampleEEP",
  "token": "P12",
  "account_binding_id": "1234567890",
  "status": "NEW",
  "start_time": "ISO 8601 Date string, eg. '2023-06-15 14:07:09'",
  "end_time": "ISO 8601 Date string, eg. '2023-06-15 14:07:09'",
  "certificate_serial_number": 1234567890,
  "card_number": "1234567890"
}

Response

Successful operation