GET
/api/organizations/{organization_id}/greetingAuthenticatedorg memberOrganization greeting
Demonstrates an organization membership requirement: the caller must be a member of the organization named in the path (platform administrators bypass the check). Membership is looked up on the auth server with this API server's JWKS access key.
operationId
get_api_organizations_organization_id_greetingOrganizationsAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- SchemaVaults access token (Bearer)
Authorization: Bearer <JWT> - SchemaVaults access token (cookie)
cookie "access_token_<api_server_id>"
- SchemaVaults access token (Bearer)
- Who may call
- Any authenticated user
- Organization membership
- Caller must be a member of the organization identified by the
organization_idparameter. Platform administrators bypass this check. - Notes
- Any membership role is accepted.
Path parameters
| Name | Type | Description |
|---|---|---|
| organization_id* | string | Organization id |
Responses
application/json
| Property | Type | Description |
|---|---|---|
| message* | string |
JSONExample
"message""string"
Example request
bashcurl
curl -X GET 'https://example-nextjs-resource-server.schemavaults.com/api/organizations/<organization_id>/greeting' \
-H 'Authorization: Bearer <access_token>'