ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Required parameters are marked with "*"

Якщо інформації по відповідному параметру немає, потрібно зазначити: “API paragraph not found”.

Purpose*

Refresh client secret for existing client (legal entity)

Specification*

Link

https://ehealthmisapi1.docs.apiary.io/#reference/deprecated-methods/client-secret/refresh-client-secret-deprecated

Resource

/admin/clients/{{id}}/refresh_secret

Scope

secret:refresh

Components

Зазначається перелік бізнес компонентів, які використовують цей метод, наприклад: ePrescription

Microservices

API paragraph not found

Protocol type

REST

Request type

PATCH

Sync/Async

Метод є синхронним чи асинхронним?

Logic*

This method is used to refresh client secret for existing client (legal entity). Only legal entity owner can request new client secret for his own legal entity

Input parameters

Input parameter

Values

Type

Description

Example

id

String

role-1380df72-275a-11e7-93ae-92361f002671

Request structure*

API paragraph not found

Authorize*

API paragraph not found

Headers*

Наприклад:

  • Content-Type:application/json

Request data validation*

API paragraph not found

Processing*

API paragraph not found

Response structure*

See on Apiary

Example:

 Response example
{
  "meta": {
    "code": 200,
    "url": "https://example.com/resource",
    "type": "object",
    "request_id": "req-adasdoijasdojsda"
  },
  "data": {
    "id": "df9f70ee-4b12-4740-b0f5-bb5aea116863",
    "name": "Аптека 199",
    "secret": "ZlFOaHBTR0d3Q0hQcDEraHVYdXBVZz09",
    "redirect_uri": "https://example2.com",
    "settings": {},
    "priv_settings": {}
  }
}

Post-processing processes*

API paragraph not found

HTTP status codes*

HTTP status code

Message

What caused the error

 200

 

 

  • No labels