DELETE/v2/projects/{projectId}/keys/{ids}

Delete one or more localization keys

Deletes one or more localization keys from a project. Supply the key IDs in the ids path parameter to remove the selected keys; the IDs must be unique.

2 parameters
idsarray<integer>required
The unique integer IDs of the keys to delete; duplicate IDs are not allowed.
projectIdintegerrequired
The integer ID of the project containing the keys to delete.

5 status codes
200Confirms that the requested key deletion operation completed.
400Returned when a path parameter or key ID value is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when the authenticated user does not have permission to delete the keys.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the project or a requested key does not exist.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when a path value is invalid. A 401 is returned when the request is unauthenticated, a 403 when the authenticated user lacks permission, and a 404 when the project or requested key cannot be found. The ids path parameter must contain unique integer key IDs, and projectId must identify the project.