Hostings

Mettre à jour un hébergement pour une application

Changed on
patch/api/v2/applications/{applicationId}/hostings/{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

idstring required
applicationIdstring required

ID de l'application

Request body

labelstring
hostingOptionIdstring

ID of the hosting option

applicationIdstring uuid
isActiveboolean nullable

Indicates whether the hosting is active, passif or not specified (null).

Response

Hébergement mis à jour

labelstring
hostingOptionIdstring

ID of the hosting option

applicationIdstring uuid required
isActiveboolean nullable required

Indicates whether the hosting is active, passif or not specified (null).

idstring required

Example response

{
  "hostingOption": {
    "site": "CER(RENNES)",
    "platform": "PHYSIQUE",
    "provider": "DTNUM",
    "building": "B15",
    "room": "IT2",
    "id": "12345678-1234-1234-1234-123456789012"
  }
}

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status