> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cocoondata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# <access-service>/api/v1/i18n/bundles/{localeCode}/delete

## URL structure&#x20;

```text theme={null}
https://access-service.xy-company.com/api/v1/i18n/bundles/{localeCode}/delete
```

where `{localeCode}` is a supported locale code.

## Supported methods and overview&#x20;

* `DELETE` - deletes a custom internationalisation (i18n) bundle (specified by `localeCode`) which had been uploaded to the Cocoon Data Platform's Access Service.

> [!NOTE]
>
> This method takes no parameters.

## Detailed description&#x20;

This API endpoint is used to delete a custom i18n bundle (specified by `{localCode}`) which had been uploaded to the Cocoon Data Platform's Access Service.

> [!NOTE]
>
> * This endpoint can only be called on locales *without* existing i18n bundles that are built in to the Cocoon Data Platform.
> * Any Cocoon Data users utilising the locale of this custom i18n bundle (which they would have chosen through SafeShare) will automatically be reverted to use the [SafeShare administrator's default locale](/CS1.2/api/access-service-api-v1-i18n-adminpreference.md), when the bundle is deleted.

## Supported roles&#x20;

This API endpoint supports the following Cocoon Data user [roles](/CS1.2/admin-platform/administering-platform-administrator-users.md#platform-administrators-and-user-roles) (as described in the [SafeShare Administrator's Guide](/CS1.2/admin-platform.md)):

* [SafeShare administrator](/CS1.2/admin-platform/administering-platform-administrator-users.md#platform-administrator-role)

The Cocoon Data Platform's resources available to a Cocoon Data user meeting the criteria above is determined by the access token submitted in the [header](/CS1.2/api/access-service-api-v1-i18n-bundles-localecode-delete.md#access-service-api-v1-i18n-bundles-localecode-delete-required-headers) of requests to this endpoint.

## Required headers&#x20;

The appropriate access token as the `Bearer` token:

* `Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...`

## Returns&#x20;

If the request succeeded, then an HTTP response status `200 OK` is returned.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.