PUT api/v1/infrastructure/node/{nodeId}/revoke

Mark as revoked public key for node

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nodeId

globally unique identifier

Required

Body Parameters

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.NodePublicKeyVo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

NodeId

unsigned integer

None.

TenantId

globally unique identifier

None.

Subject

string

None.

PublicKey

string

None.

Thumbprint

string

None.

Validated

boolean

None.

GeneratedTime

date

None.

ValidatedTime

date

None.

RevokedTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "b8546259-a4a7-40ac-8087-31008f46187a",
  "NodeId": 2,
  "TenantId": "1263a9a5-2cb7-4cbf-bae2-fcfa99802215",
  "Subject": "sample string 3",
  "PublicKey": "sample string 4",
  "Thumbprint": "sample string 5",
  "Validated": true,
  "GeneratedTime": "2025-04-21T12:55:55Z",
  "ValidatedTime": "2025-04-21T12:55:55Z",
  "RevokedTime": "2025-04-21T12:55:55Z"
}

application/xml, text/xml

Sample:
<NodePublicKeyVo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mpsapi.healthbridge.com/platform/commondomain/v1/nodepublickey/">
  <GeneratedTime>2025-04-21T12:55:55.3311916+02:00</GeneratedTime>
  <Id>b8546259-a4a7-40ac-8087-31008f46187a</Id>
  <NodeId>2</NodeId>
  <PublicKey>sample string 4</PublicKey>
  <RevokedTime>2025-04-21T12:55:55.3311916+02:00</RevokedTime>
  <Subject>sample string 3</Subject>
  <TenantId>1263a9a5-2cb7-4cbf-bae2-fcfa99802215</TenantId>
  <Thumbprint>sample string 5</Thumbprint>
  <Validated>true</Validated>
  <ValidatedTime>2025-04-21T12:55:55.3311916+02:00</ValidatedTime>
</NodePublicKeyVo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'NodePublicKeyVo'.

Response Information

Resource Description

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Boolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

ResponseCode

integer

None.

ResponseMessage

string

None.

Data

boolean

None.

Links

Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "ResponseCode": 2,
  "ResponseMessage": "sample string 3",
  "Data": true,
  "Links": [
    {
      "Rel": "sample string 1",
      "HRef": "sample string 2"
    },
    {
      "Rel": "sample string 1",
      "HRef": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<RestApiResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
  <Data>true</Data>
  <Links>
    <RestApiLink>
      <HRef>sample string 2</HRef>
      <Rel>sample string 1</Rel>
    </RestApiLink>
    <RestApiLink>
      <HRef>sample string 2</HRef>
      <Rel>sample string 1</Rel>
    </RestApiLink>
  </Links>
  <ResponseCode>2</ResponseCode>
  <ResponseMessage>sample string 3</ResponseMessage>
  <Sucess>true</Sucess>
</RestApiResultOfboolean>