Get membership requester info
Get requester info for a specific space membership request made via the Marketplace.
This operation requires privilege space_manage_in_marketplace
or oz_spaces_view admin privilege.
Example cURL requests
Get space membership requester info
curl -u admin:password -H "Content-type: application/json" -X GET \
https://$ZONE_HOST/api/v3/onezone/spaces/marketplace/$SPACE_ID/request/$REQUEST_ID/requester_info
{
"userId": "585110fde9d1a52c93f8eb22c0614e47",
"fullName": "Joe Joester",
"username": "JoJo",
"contactEmail": user@example.com
}
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Space Id. |
| rid required | string Space membership request Id. |
Request Examples
onezone-rest-cli getMembershipRequesterInfo id=$SPACE_ID rid=$REQUEST_IDResponses
Space membership requester info.
| Property | Type & Description |
|---|---|
userId string Unique user Id. | |
fullName string User's full name (given names + surname). | |
username string User's human-readable identifier, unique across the system. Makes it easier to identify the user and can be used for signing in with password. | |
contactEmail string User contact email address. | |
Example
{
"userId": "585110fde9d1a52c93f8eb22c0614e47",
"fullName": "Joe Joester",
"username": "JoJo",
"contactEmail": "user@example.com"
}Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authentication error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authorization error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Resource not found.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Internal server Error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}