Labels

Mettre à jour un nom existant

patch/api/v2/applications/{applicationId}/labels/{id}

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/auth, token URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/token)
    • API key in header x-refapp-token

Path parameters

applicationIdstring required

ID de l'application

idstring required

ID du nom

Request body

labelSourceIdstring

ID de la source du label

valuestring required

Value of the label

Example request

{
  "labelSourceId": "5708d232-8338-4abf-8f38-8370acc89497",
  "value": "short-app-name"
}

Response

Nom alternatif mis à jour

labelSourceIdstring

ID de la source du label

valuestring required

Value of the label

idstring required

ID of the label

applicationIdstring required

ID of the application to which the label belongs

Example response

{
  "labelSourceId": "5708d232-8338-4abf-8f38-8370acc89497",
  "value": "short-app-name",
  "id": "5708d232-8338-4abf-8f38-8370acc89497",
  "applicationId": "5708d232-8338-4abf-8f38-8370acc89497"
}

Changes

No operation changes recorded.