Create an application membership
How to create an application membership via API
Request
Arguments
Body Parameter
Type
Required
Example
curl -g -X POST \
'https://provisioning.commercelayer.io/api/application_memberships' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer {{your_access_token}}' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "application_memberships",
"relationships": {
"api_credential": {
"data": {
"type": "api_credentials",
"id": "ABCRtyUpBa"
}
},
"organization": {
"data": {
"type": "organizations",
"id": "BCDRtyUpBa"
}
},
"role": {
"data": {
"type": "roles",
"id": "CDERtyUpBa"
}
}
}
}
}'Last updated