Create a new entry code for a device with keypad

Hi dear,
I have one device (named = main_entrance) with a keypad.
How can I create a new entry code for this device over the API ?
Also I want to search for the existence of an entry code and to delete an entry code.

Unfortunately I have not found anything in or in
Can you help me please ?

sorry my mistake, here is all examples
Web API Example: Manage PIN-Codes for your Nuki Keypad