Update Project
PUThttps://api.orange.com/evolutionplatform/referentiel/api/v1//organizations/:organizationId/projects/:id
This operation allows to update a Project by id
Request
Path Parameters
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
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
- application/json
Body
project to update
project name
Possible values: Value must match regular expression \S
installedOffer object
ban id
Responses
- 200
- 400
- 401
- 403
- 404
- 500
ok
- application/json
- Schema
- Example (auto)
Schema
project name
Possible values: Value must match regular expression \S
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
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}
ban id
{
"name": "string",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"installedOffer": {
"code": "string",
"name": "string"
},
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"banId": 0
}
bad request
- application/json
- Schema
- Example (auto)
Schema
bad request code
bad request message
bad request status
bad request title
violations object[]
{
"code": 0,
"message": "string",
"status": 0,
"title": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Authorization: oauth2
name: oauth2clientcredentialstype: oauth2flows: {
"clientCredentials": {
"tokenUrl": "https://api.orange.com/oauth/v3/token",
"scopes": {}
}
}
- curl
- python
- go
- nodejs
- php
- java
- CURL
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
}'