apiKey_create¶
-
POST /users/{uid}/apikeys
Creates an API Key for the specified user.
Note
The apiKeyPair can be empty as only the description information is used. The public and secret key information is generated automatically. Though you must send an empty apiKeyPair in the request body.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
api_key_access
HTTP Request Body Parameters¶
A apiKeyPair object
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/apikeys" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:apiKeyPair xmlns:ns0="http://www.usharesoft.com/uforge"></ns0:apiKeyPair>