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

API paragraph not found

Microservices

API paragraph not found

Protocol type

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 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:

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

 

 

...