---
updatedAt: 2026-04-20T19:21:13.000Z
---

# Delete a secret store

This operation deletes the details of the secret store.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Secret stores",
    "version": "1"
  },
  "components": {
    "securitySchemes": {
      "oauth_v2": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.\n",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/api/identity/v1/oauth/authorize",
            "tokenUrl": "/api/identity/v1/oauth/token",
            "scopes": {
              "coblitz.co": "d",
              "coblitz.cp": "d",
              "coblitz.nsp": "d"
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/api/secret-management/v1"
    }
  ],
  "paths": {
    "/secret-stores": {
      "get": {
        "operationId": "get-secret-stores",
        "description": "This operation returns a list of all configured secret stores.",
        "summary": "List secret stores",
        "parameters": [
          {
            "description": "Filters the returned collection.\n",
            "in": "query",
            "name": "filter",
            "schema": {
              "type": "string",
              "example": "filter=name==foo"
            }
          },
          {
            "description": "Specifies that either the `detailed` or default `summary` view be returned.\n",
            "in": "query",
            "name": "view",
            "schema": {
              "default": "summary",
              "type": "string",
              "enum": [
                "summary",
                "detailed"
              ],
              "example": "summary"
            }
          },
          {
            "description": "Specifies the sort order of the returned collection.\n",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Specifies an offset into the results.  Use in conjunction with `pageSize`.  Page number offset is 1-based.\n",
            "in": "query",
            "name": "pageNumber",
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer",
              "example": 2
            }
          },
          {
            "description": "Specifies the number of results per page.  Use in conjunction with `pageNumber`.\n",
            "in": "query",
            "name": "pageSize",
            "schema": {
              "default": 100,
              "maximum": 1000,
              "minimum": 1,
              "type": "integer",
              "example": 2
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "page": {
                    "pageNumber": 1,
                    "pageSize": 100,
                    "totalPages": 1,
                    "totalResults": 1
                  },
                  "secretStores": [
                    {
                      "secretStoreId": 1,
                      "type": "VAULT",
                      "hostname": "test.server.com"
                    }
                  ]
                },
                "schema": {
                  "description": "Secret management secret store collection\n",
                  "properties": {
                    "secretStores": {
                      "type": "array",
                      "items": {
                        "description": "Secret management secret store summary schema\n",
                        "properties": {
                          "secretStoreId": {
                            "$ref": "#/paths/~1secret-stores~1%7BsecretStoreId%7D/put/requestBody/content/application~1json/schema/properties/secretStoreId",
                            "description": "The unique id for this secret store.\n"
                          },
                          "type": {
                            "$ref": "#/paths/~1secret-stores/post/requestBody/content/application~1json/schema/properties/type",
                            "description": "The type of the secret store.\n"
                          },
                          "hostname": {
                            "$ref": "#/paths/~1secret-stores/post/requestBody/content/application~1json/schema/properties/hostname",
                            "description": "The hostname of the secret store server.\n"
                          }
                        },
                        "required": [
                          "secretStoreId",
                          "type",
                          "hostname"
                        ]
                      }
                    },
                    "page": {
                      "description": "Common page properties for search results.\n",
                      "properties": {
                        "pageNumber": {
                          "type": "integer",
                          "description": "Indicates the page number of the current results, given the page size.\n"
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "Indicates the page size for the current results.\n"
                        },
                        "totalPages": {
                          "type": "integer",
                          "description": "Indicates the total number of pages, taking the pages size into consideration.\n"
                        },
                        "totalResults": {
                          "type": "integer",
                          "description": "Indicates the total number of results from the search.\n"
                        }
                      },
                      "required": [
                        "pageNumber",
                        "pageSize"
                      ]
                    }
                  },
                  "required": [
                    "secretStores",
                    "page"
                  ]
                }
              }
            },
            "description": "Successful response\n"
          },
          "400": {
            "description": "An HTTP 400 will be returned if the request is badly formed or has constraint violations.\n",
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/errors#core.constraint-violation",
                  "title": "The request entity is invalid",
                  "detail": "Constraint violations were detected",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/v1/nodes#7284f092-f2f1-4131-a9dc-f8a5b7b6980f",
                  "violations": [
                    {
                      "property": "#/hostname",
                      "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/errors#core.not-null-violation",
                      "detail": "may not be null"
                    }
                  ]
                },
                "schema": {
                  "description": "Super type to enumerate 400 class errors.\n",
                  "anyOf": [
                    {
                      "description": "Invalid path param HTTP problem.  Used when the server can't process a path param due to incorrect type/formatting\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "pathParamName": {
                              "type": "string"
                            },
                            "pathParamValue": {
                              "description": "The value supplied in the request.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "pathParamName",
                        "pathParamValue"
                      ]
                    },
                    {
                      "description": "JSON mapping HTTP problem\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "property": {
                              "type": "string"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "property"
                      ]
                    },
                    {
                      "$ref": "#/paths/~1secret-stores/get/responses/400/content/application~1json/schema/anyOf/0"
                    },
                    {
                      "description": "Path-param/entity-field mismatch HTTP problem.  In many situations, we have entities referenced via a URI that includes their identifier.  That identifier may also be in the body.  If they don't match, it's unclear what the intended operation is, so this error is used.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "uriParameterName": {
                              "type": "string",
                              "description": "The name of the URI parameter.\n"
                            },
                            "uriParameterValue": {
                              "description": "The supplied value of the URI parameter.\n"
                            },
                            "property": {
                              "type": "string",
                              "description": "The name of the field in the entity that must match the URI param.\n"
                            },
                            "propertyValue": {
                              "description": "The supplied value of the field.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "uriParameterName",
                        "uriParameterValue",
                        "property",
                        "propertyValue"
                      ]
                    },
                    {
                      "description": "Invalid parameter HTTP problem\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "parameter": {
                              "type": "string",
                              "description": "The parameter that is in error.\n"
                            },
                            "value": {
                              "description": "The value that was provided.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "parameter",
                        "value"
                      ]
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "violations": {
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "allOf": [
                                      {
                                        "properties": {
                                          "property": {
                                            "type": "string",
                                            "description": "The property in the request that has caused a violation\n"
                                          },
                                          "value": {
                                            "description": "The value in the request that has caused a violation\n"
                                          },
                                          "type": {
                                            "type": "string",
                                            "format": "uri",
                                            "description": "Uniquely identifies this HTTP problem\n"
                                          },
                                          "detail": {
                                            "type": "string",
                                            "description": "Human readable description of the problem\n"
                                          }
                                        },
                                        "required": [
                                          "property",
                                          "type"
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1secret-stores/get/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the minimum allowable value for the given property\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "min"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1secret-stores/get/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the maximum allowable value for the given property\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "max"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1secret-stores/get/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the maximum allowable size for the given property.  For strings this is the string length.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "size"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1secret-stores/get/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "pattern": {
                                            "type": "string",
                                            "description": "Specifies the allowable pattern for a property.  This would usually be a regular expression.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "pattern"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1secret-stores/get/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "requiredValue": {
                                            "type": "boolean",
                                            "description": "Specifies the allowable condition value for a property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "requiredValue"
                                    ]
                                  }
                                ]
                              }
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "An HTTP 403 will be returned if the principal is not authorized to access the instance of access-map that the request was made against.\n",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Unauthorized access HTTP problem\n",
                  "allOf": [
                    {
                      "description": "Base HTTP problem type\n",
                      "properties": {
                        "status": {
                          "type": "integer",
                          "description": "Optionally specified HTTP status code\n"
                        },
                        "type": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string",
                          "description": "Human readable title of the class of problem that occurred.\n"
                        },
                        "detail": {
                          "type": "string",
                          "description": "Human readable description of the class of problem that occurred.\n"
                        },
                        "instance": {
                          "type": "string",
                          "description": "Unique identifier for an instance of a problem\n",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "type",
                        "instance"
                      ]
                    },
                    {
                      "properties": {
                        "entity": {
                          "description": "A summary of an entity involved in a problem.\n",
                          "properties": {
                            "entityType": {
                              "type": "string",
                              "description": "Name of the entity type.\n"
                            },
                            "entityId": {
                              "description": "Id of the entity in question.\n"
                            },
                            "entityName": {
                              "type": "string",
                              "description": "Human readable name of the entity, if provided by the entity type.\n"
                            },
                            "entityHref": {
                              "type": "string",
                              "format": "uri",
                              "description": "URI pointing to the entity.\n"
                            }
                          },
                          "required": [
                            "entityType",
                            "entityId",
                            "entityHref"
                          ]
                        },
                        "permission": {
                          "type": "string",
                          "description": "The permission required to access the entity.\n"
                        }
                      }
                    }
                  ],
                  "required": [
                    "type",
                    "instance",
                    "entity",
                    "permission"
                  ]
                }
              }
            }
          },
          "409": {
            "description": "An HTTP 409 will be returned if the access-map offered for create/update would lead to a conflicting state.\n",
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/errors#core.entity-property-conflict",
                  "title": "The request has conflicting properties with existing configuration",
                  "detail": "An entity with property 'hostname' of 'test.akamai.com' already exists",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/v1/nodes#a4e84e37-ec37-4a13-83d7-ba1d75a36029",
                  "conflictingProperty": "#/hostname",
                  "conflictingValue": "test.akamai.com",
                  "conflictingEntity": {
                    "entityHref": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/v1/nodes/809ab9b0-837f-47dd-b14b-2732dc34dfda",
                    "entityType": "Node",
                    "entityId": "809ab9b0-837f-47dd-b14b-2732dc34dfda"
                  }
                },
                "schema": {
                  "description": "Super type to enumerate 409 class errors.\n",
                  "anyOf": [
                    {
                      "description": "Entity property conflict HTTP problem.  Used when an attempt is made to set a property on an entity that would cause conflict with an existent entity.  For example, attempting to set duplicate surrogate identifiers.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "conflictingProperty": {
                              "type": "string"
                            },
                            "conflictingValue": {
                              "description": "The supplied value\n"
                            },
                            "conflictingEntity": {
                              "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/1/properties/entity",
                              "description": "The existing entity which the proposed change is in conflict with\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "conflictingProperty",
                        "conflictingValue",
                        "conflictingEntity"
                      ]
                    },
                    {
                      "description": "Entity referenced HTTP problem.  Used in cases where an attempt is made to delete an entity that other entities are referring to, and simply removing the reference would not lead to a valid state.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "referencedEntity": {
                              "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/1/properties/entity"
                            },
                            "referringEntities": {
                              "type": "array",
                              "items": {
                                "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/1/properties/entity"
                              }
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "referencedEntity",
                        "referringEntities"
                      ]
                    },
                    {
                      "description": "Non-existent reference HTTP problem.  Used when a mutable operation attempts to refer to another resource that does not exist.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1secret-stores/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "referencedType": {
                              "type": "string",
                              "description": "The type of the object that was referenced.\n"
                            },
                            "referencedId": {
                              "description": "The Id of the object that was referenced.\n"
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "coblitz.cp",
              "coblitz.nsp"
            ]
          }
        ]
      }
    },
    "/secret-stores/{secretStoreId}": {
      "delete": {
        "operationId": "delete-secret-store",
        "summary": "Delete a secret store",
        "description": "This operation deletes the details of the secret store.",
        "responses": {
          "204": {
            "description": "The secret store was successfully deleted.\n"
          },
          "400": {
            "$ref": "#/paths/~1secret-stores/get/responses/400"
          },
          "403": {
            "$ref": "#/paths/~1secret-stores/get/responses/403"
          },
          "404": {
            "$ref": "#/paths/~1secret-stores~1%7BsecretStoreId%7D/get/responses/404"
          },
          "409": {
            "$ref": "#/paths/~1secret-stores/get/responses/409"
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "coblitz.cp",
              "coblitz.nsp"
            ]
          }
        ]
      },
      "parameters": [
        {
          "description": "Uniquely identifies a secret store.\n",
          "in": "path",
          "name": "secretStoreId",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 1
          }
        }
      ]
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Get a secret store](https://techdocs.akamai.com/aura-secret-mgmt/reference/get-secret-store.md)
* [Update a secret store](https://techdocs.akamai.com/aura-secret-mgmt/reference/put-secret-store.md)