contentful-management
Version:
Client for Contentful's Content Management API
8 lines • 310 B
JavaScript
import * as raw from './raw';
export const create = (http, params, data) => {
return raw.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appDefinitionId}/access_tokens`, undefined, {
headers: {
Authorization: `Bearer ${data.jwt}`
}
});
};