Membership
Update membership
Changed onUpdate a membership object.
put/api/v1/organization_groups/{organizationGroupID}/memberships/{membershipID}
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
membershipIDinteger required
A unique integer value identifying this membership.
organizationGroupIDinteger required
A unique integer value identifying organization group.
Request body
Example request
{
"id": 3,
"url": "https://example.rossum.app/api/v1/organization_groups/1/memberships/3",
"user": "https://example.rossum.app/api/v1/users/10775",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queues": [
"https://example.rossum.app/api/v1/organization_groups/1/queues/3",
"https://example.rossum.app/api/v1/organization_groups/1/queues/4"
]
}Response
OK
Example response
{
"id": 3,
"url": "https://example.rossum.app/api/v1/organization_groups/1/memberships/3",
"user": "https://example.rossum.app/api/v1/users/10775",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queues": [
"https://example.rossum.app/api/v1/organization_groups/1/queues/3",
"https://example.rossum.app/api/v1/organization_groups/1/queues/4"
]
}Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status
- breaking