API Reference
Log In
API Reference

Set a person's primary org-unit assignment

Assigns the directory person's primary org unit effective now, recorded as a MANUAL assignment (which the directory-sync mapping engine never overrides). Point-in-time history is preserved: prior usage stays attributed to the previous unit.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Directory person identifier

Query Params
string
required

Team (organization) identifier the person belongs to

Body Params

Request to set a person's primary org-unit assignment (recorded as a MANUAL assignment)

int64

Target org unit id

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*