cURL
curl --request POST \ --url https://your-sift-api-url.com/api/v2/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "userId": "<string>" } '
{ "apiKey": { "apiKeyId": "<string>", "name": "<string>", "key": "<string>", "createdDate": "2023-11-07T05:31:56Z", "createdByUserId": "<string>", "userId": "<string>" } }
Creates an API key.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The request for a call to ApiKeyService.CreateApiKey.
The name for the new ApiKey. Required.
A successful response.
Show child attributes
Was this page helpful?