Skip to main content
PUT
Replace a custom instruction

Authorizations

Authorization
string
header
default:DeepL-Auth-Key
required

Authentication with Authorization header and DeepL-Auth-Key authentication scheme. Example: DeepL-Auth-Key <api-key>

Path Parameters

style_id
string
required

The ID of the style rule list

instruction_id
string
required

The ID of the custom instruction

Body

application/json
label
string
required

Updated label for the custom instruction

Maximum string length: 100
prompt
string
required

Updated instruction text

Maximum string length: 300
source_language
string

Optional source language code

Response

Custom instruction updated successfully

All enabled custom instructions for the style rule list

id
string
required

Unique identifier for the custom instruction

Example:

"68fdb803-c013-4e67-b62e-1aad0ab519cd"

label
string
required

Name associated with the custom instruction

Example:

"Currency custom instruction"

prompt
string
required

Prompt of the custom instruction

Example:

"Have currency symbols before the numerical value (e.g. $100, €100)"

source_language
string

Optional source language of the custom instruction

Example:

"en"