External User Mappings

Update External User Mappings

put/v2/company/{company_id}/external_user_mappings/{identifier}

Request

  • Base URL
    https://api.7shifts.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.7shifts.com/oauth2/authorize
      Client credentials
      Password
      Token URLhttps://app.7shifts.com/oauth2/token
    • or API key in cookie 7session

Path parameters

company_idinteger required

Company ID

identifierstring required

User ID. Accepted values are 7Shifts user id or external user id. Use prefix ext: for external id

Query parameters

location_idinteger

Location ID

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Request body

user_idinteger

User ID in 7Shifts

external_user_idstring

User ID in External System

Response

OK

object'external_user_mapping' required

Example response

{
  "data": {
    "created": "2021-01-01T00:00:00.000Z",
    "modified": "2021-01-01T00:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.