Skip to main content

Update Project

PUT 

https://api.orange.com/evolutionplatform/referentiel/api/v1//organizations/:organizationId/projects/:id

This operation allows to update a Project by id

Request

Path Parameters

    id uuidrequired

    Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}

    project id

    organizationId uuidrequired

    Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}

    organization id

Body

project to update

    namestringrequired

    project name

    Possible values: Value must match regular expression \S

    installedOffer object

    installed offer associated to project

    codestringrequired

    installed offer code

    Possible values: Value must match regular expression \S

    namestringrequired

    installed offer name

    Possible values: Value must match regular expression \S

    banIdint32required

    ban id

Responses

ok

Schema
    namestringrequired

    project name

    Possible values: Value must match regular expression \S

    organizationIduuid

    organization UUID associated to project

    Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}

    installedOffer object

    installed offer associated to project

    codestringrequired

    installed offer code

    Possible values: Value must match regular expression \S

    namestringrequired

    installed offer name

    Possible values: Value must match regular expression \S

    iduuid

    project UUID

    Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}

    banIdint32

    ban id

Authorization: oauth2

name: oauth2clientcredentialstype: oauth2flows: {
  "clientCredentials": {
    "tokenUrl": "https://api.orange.com/oauth/v3/token",
    "scopes": {}
  }
}
curl -L -X PUT 'https://api.orange.com/evolutionplatform/referentiel/api/v1//organizations/:organizationId/projects/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "string",
"installedOffer": {
"code": "string",
"name": "string"
},
"banId": 0
}'
Request Collapse all
Base URL
https://api.orange.com/evolutionplatform/referentiel/api/v1/
Auth
Parameters
— pathrequired
— pathrequired
Body
{
  "name": "string",
  "installedOffer": {
    "code": "string",
    "name": "string"
  },
  "banId": 0
}