Update position

Full update: optional fields that are omitted are cleared. The group is required but a position cannot be moved to another group. First retrieve the current position from /api/groups/positions/{id}, apply your changes, then send back the full object.

Required permission: Limited Write Groups

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

The id of the position

Body Params

The details of the position

group
object | null
required

The group the position belongs to. On writes, provide the id; a position cannot be moved to another group on update.

enrollment
object | null
required

How volunteers enroll in the position: 1 = anyone can sign up, 2 = approval required. On writes, provide the id.

string | null

The name of the serving position.

string | null

The description of the serving position.

boolean

Whether the position is listed publicly.

boolean

Whether the position is active.

form
object | null

The sign-up form, when one is linked. On writes, provide the id; omit to clear it.

leader
object | null

A reference to an existing record by its id.

merchant
object | null

The merchant account used for position-related payments. Only returned to authenticated callers. On writes, provide the id; omit to clear it.

int32 | null

The maximum number of volunteers, when the position is capped.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

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