Program Tokens & Rest API's Create / Delete Token
Question. When I create a new program, I select from one of the following types:
- Default
- Engagement
- Event
Are these programs "folders" in the context of the API?
I'm trying to run a script outside Marketo that will create or delete a token within a specific program and want to know whether the four digit number (app-ab08.marketo.com/#AAADDDDAD) associated with the program, the one that's represented by the {{program.id}} token, is the same one represented by {id} in the following operations associated with creating or deleting tokens:
- /rest/asset/v1/folder/{id}/tokens.json (See here.)
- /rest/asset/v1/folder/{id}/tokens/delete.json (See here.)
I'm trying to create or delete tokens based on a series of conditions evaluated outside Marketo.