Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel3

Required parameters are marked with "*"

...

Purpose

...

Refresh client secret for existing client (legal entity)

Specification

...

Page Properties

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

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

Microservices

Перелік мікросервісів, які використовує метод API, наприклад: Auth, ABACAPI paragraph not found

Protocol type

Тип протоколу, який використовується запитом, наприклад: SOAP | REST

Request type

PATCH

Sync/Async

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

...

API paragraph not found

Public/Private/Internal

Public

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

...

API paragraph not found

Request data validation

...

API paragraph not found

Processing

...

API paragraph not found

Response structure

...

See on Apiary

Example:

Expand
titleResponse example
Code Block
{
  "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

...

Page Properties

HTTP status code

Message

What caused the error

 200

 

 

...