Remove a language
Endpoint: https://api.youcan.shop/languages/{locale}
Method: DELETE
Required Scopes
delete-languages
Notes
- Visitors no longer get the store in this language.
- You cannot remove the default language. You get a 422 when you try.
- You get a 404 for a language that was not added to the store.
Parameters
| Param Name | Param Type | Description | Required |
|---|---|---|---|
| locale | string | The locale of a language from the listing, for example fr | Yes |
Response
[200] Ok
json
{
"status": 200,
"detail": "language successfully removed",
"meta": []
}