POST/v2/shares/{share-id}/web-keyCreate a web key

Create a web key
headerAuthorizationAuthentication token (bearer token or API key).

Response

status200All ok
status400Web key not allowed for user groups
status400Web key requires temporary access
status400Web key already exists
status401Invalid authentication token
status403Insufficient rights
status404share not found

Example: Create a web key

POST/v2/shares/2/web-key

headerAuthorizationBearer 944bfa9d-e7dc-4119-b49f-514d0729d3a8

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
"https://webkey-staging.boldsmartlock.com/84e699cc-bfec-4cf1-b77e-4c975f2c7953"