v1/users/{id}

Edit a User employment.

Path Params
int32
required

Employment id.

Body Params
string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
required
≥ 1

ID of a shyftplan account.

string
required
string
required
int32
enum

1 = abrechnen (is billed); 2 = nicht abrechnen (is not billed)

Allowed:
string

(New) e-mail address of the user. Requires sso_only=true

employment_work_hour_attributes
object
date
date
boolean
boolean
float
boolean
float
string

Note saved with the object.

string

Phone number for the employment.

restricted_shift_preset_ids
array of objects

List of shift preset IDs. The employee can't be assigned to a shift which is based on one of these presets (configurable conflict in company profile).

restricted_shift_preset_ids
boolean
Defaults to false

Boolean flag to determine if the user must log in via SSO. Can only be changed by a super-admin

string
tag_ids
array of objects

List of employment tag ids to be set for this employment.

tag_ids
string

User Principal Name (UPN) used to sign in with Microsoft

int32
Response
200

Edit a User employment.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!