/auth/site/create-pin
POST
/auth/site/create-pin
const url = 'https://site.example.com/auth/site/create-pin';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"pin":"example","currentPin":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://site.example.com/auth/site/create-pin \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "pin": "example", "currentPin": "example" }'Site server only; the hosted service does not serve this route.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
pin
string
currentPin
string
Examplegenerated
{ "pin": "example", "currentPin": "example"}Responses
Section titled “ Responses ”OK