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

NameDescriptionTypeAdditional 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

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.