Apps
Generate an app access token
This endpoint generates an app access token. This access token can be used to access app specific resources and general "public" resources, like the /projects endpoint.
post/app/accessTokens
Request
- Base URLhttps://api.carbonregistry.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-icr-api-versionstring
API version
Response
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z",
"token": "crs_19c9bd530ccd3e1187eed12dc4edb70abe757fc4c7be9c5b",
"expiresAt": "2022-02-01T00:00:00Z",
"isActive": true,
"permissions": {
"organization_info": "VIEW",
"organization_members": "VIEW",
"organization_projects": "VIEW",
"organization_inventory": "REQUEST",
"organization_warehouse": "WRITE"
},
"appId": "67890"
}Changes
No recorded changes to this operation across all 1 revision of this API.