Skip to main content

Update AzureCredential

PUT 

/api/v1/projects/:projectId/azure/credentials/:id

This operation allows to update an AzureCredential

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}

    credential Id

    projectId 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

Body

AzureCredential to update

    namestringrequired

    azure credential name

    Possible values: Value must match regular expression \S

    descriptionstring

    azure credential description

    subscriptionIdstringrequired

    subscription id on azure

    Possible values: Value must match regular expression \S

    tenantIduuidrequired

    tenant id on azure

    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}

    clientIduuidrequired

    client id on azure

    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}

    clientSecretstringrequired

    client secret on azure

    Possible values: Value must match regular expression \S

    expirationDatedate

    expiration date of the azure credential

    Example: 2022-03-10

Responses

ok

Schema
    iduuid

    azure credential 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}

    projectIduuid

    id of the project associated to the azure credential

    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}

    namestring

    azure credential name

    cspstring

    csp of the credential

    descriptionstring

    azure credential description

    projectNamestring

    name of the project associated to the azure credential

    expirationDatedate

    expiration date of the azure credential

    Example: 2022-03-10

Authorization: http

name: SecuritySchemetype: httpdescription: Authenticationscheme: bearerbearerFormat: JWT
curl -L -X PUT '/api/v1/projects/:projectId/azure/credentials/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "string",
"description": "string",
"subscriptionId": "string",
"tenantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientSecret": "string",
"expirationDate": "2022-03-10"
}'
Request Collapse all
Base URL
/api/v1
Auth
Parameters
— pathrequired
— pathrequired
Body
{
  "name": "string",
  "description": "string",
  "subscriptionId": "string",
  "tenantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "clientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "clientSecret": "string",
  "expirationDate": "2022-03-10"
}