User

Change an integration

Activity name: <a href="https://developer.loket.nl/Activities/PutEmployerUserIntegrationByUserIdAndApplicationId" target="_blank">PutEmployerUserIntegrationByUserIdAndApplicationId</a>

Change the integration

put/v2/providers/employers/users/{userId}/integrations/{applicationId}

Request

  • Base URL
    https://api.loket.nl
  • URL
    https://api.loket.nl/v2/providers/employers/users/{userId}/integrations/{applicationId}
  • Auth
    none required

Path parameters

userIdstring uuid required

The unique identifier of an user

applicationIdstring uuid required

The unique identifier of an integration

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Request body

createdOnstring date-time

The time the integration was successfully initiated

lastLoginstring date-time nullable

The time the integration was last active

isBlockedboolean

Indicates whether the application user combination is blocked (for this single user)

Example request

{
  "createdOn": "2018-05-08T15:16:49+02:00",
  "lastLogin": "2018-05-08T15:16:49+02:00",
  "isBlocked": true,
  "application": {
    "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
    "name": "ABC international",
    "logo": "https://api.loket.nl/v2/application/{applicationId}/logo/{version}",
    "isBlocked": true,
    "isAvailableInMarketplace": true
  }
}

Response

OK

Example response

{
  "version": {
    "resourceVersion": "2018-12-31"
  },
  "messages": [
    {
      "type": "Warning",
      "description": "<some warning>",
      "id": "904d6856-6034-4624-bcbc-886188c115c5",
      "code": 12
    }
  ],
  "content": {
    "createdOn": "2018-05-08T15:16:49+02:00",
    "lastLogin": "2018-05-08T15:16:49+02:00",
    "isBlocked": true,
    "application": {
      "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
      "name": "ABC international",
      "logo": "https://api.loket.nl/v2/application/{applicationId}/logo/{version}",
      "isBlocked": true,
      "isAvailableInMarketplace": true
    }
  }
}

Changes

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