PUT api/EntreeAPIV2/GetOrCreateApiKeyForUser?tenantName={tenantName}&siteName={siteName}&contentProviderId={contentProviderId}&instance={instance}&userId={userId}
Get the API-key for an existing user, an if it doesn't exist, creates one. All of this happens in the content providers system.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tenantName |
tenant name |
string |
Required |
| siteName |
site name |
string |
Required |
| contentProviderId |
content provider id |
integer |
Required |
| instance |
the Workplacebuddy group |
integer |
Required |
| userId |
the user ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
An object representing the user including ID and API-key
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.