clients

update security server client information

Changed on
<h3>Administrator updates the client information.</h3>
patch/clients/{id}

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/clients/{id}
  • Auth: API key in header Authorization

Path parameters

idstring text required

id of the client

Request body

connection_type'HTTP' | 'HTTPS' | 'HTTPS_NO_AUTH' enum

connection type

Example request

{
  "connection_type": "HTTP"
}

Response

client modified

idstring text

<instance_id>:<member_class>:<member_code>:<subsystem>(optional). Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

instance_idstring text

Xroad instance id. Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

member_namestring text

Member name. Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

member_classstring text required

Member class. Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

member_codestring text required

Member code. Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

subsystem_codestring text

Subsystem code. Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

subsystem_namestring text

Subsystem name. Cannot contain colons, semicolons, slashes, backslashes, percent signs or control characters

ownerboolean

if this client is the owner member of this security server

has_valid_local_sign_certboolean

if this client has a valid (registered and with good OCSP response) sign cert stored on this security server

is_management_services_providerboolean

if this client is management services provider

rename_status'NAME_SET' | 'NAME_SUBMITTED' enum

rename status

connection_type'HTTP' | 'HTTPS' | 'HTTPS_NO_AUTH' enum

connection type

status'REGISTERED' | 'SAVED' | 'GLOBAL_ERROR' | 'REGISTRATION_IN_PROGRESS' | 'DELETION_IN_PROGRESS' | 'DISABLED' | 'DISABLING_IN_PROGRESS' | 'ENABLING_IN_PROGRESS' enum

client status

Example response

{
  "id": "FI:GOV:123:ABC",
  "instance_id": "FI",
  "member_name": "FI",
  "member_class": "GOV",
  "subsystem_code": "ABC",
  "subsystem_name": "FI",
  "rename_status": "NAME_SET",
  "connection_type": "HTTP",
  "status": "REGISTERED"
}

Changes

    • ○

      added the optional property to the response with the status

    • ●

      removed the optional property from the response with the status

    • ○

      added the optional property to the response with the status