Patch AwsCredentials
PATCHhttps://api.orange.com/evolutionplatform/aws/api/v1//projects/:projectId/aws/credentials/:id
This operation allows to patch an AwsCredentials
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}
credentials 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}
project Id
- application/json
Body
AwsCredentials to patch
aws credentials name
aws credentials description
api key on aws
secret key on aws
expiration date of the aws credentials
2022-03-10
Responses
- 200
- 400
- 401
- 403
- 404
- 500
ok
- application/json
- Schema
- Example (auto)
Schema
aws credentials 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}
aws credentials name
csp of the credentials
aws credentials description
id of the project associated to the aws credentials
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}
expiration date of the aws credentials
2022-03-10
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"csp": "string",
"description": "string",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"expirationDate": "2022-03-10"
}
bad request
- application/json
- Schema
- Example (auto)
Schema
bad request code
bad request message
bad request description
violations object[]
{
"code": 0,
"message": "string",
"description": "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: http
name: SecuritySchemetype: httpdescription: Authenticationscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- php
- java
- CURL
curl -L -X PATCH 'https://api.orange.com/evolutionplatform/aws/api/v1//projects/:projectId/aws/credentials/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "string",
"description": "string",
"apiKey": "string",
"secretKey": "string",
"expirationDate": "2022-03-10"
}'