Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mv_deletefoldermember.sas File Reference

Deletes an item in a Viya folder. More...

Go to the source code of this file.

Detailed Description

If not executed in Studio 5+ will expect oauth token in a global macro variable (default ACCESS_TOKEN).

filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;

%mv_createwebservice(path=/Public/test, name=blah)
%mv_deletejes(path=/Public/test, name=blah)
Parameters
path=The full path of the folder containing the item to be deleted
name=The name of the item to be deleted
contenttype=The contenttype of the item, eg: file, jobDefinition
access_token_var=The global macro variable to contain the access token
grant_type=valid values are "password" or "authorization_code" (unquoted). The default is "detect" (which will run in Studio 5+ without a token).
Version
VIYA V.03.04
Author
Allan Bowe @source https://github.com/sasjs/core

Dependencies

Definition in file mv_deletefoldermember.sas.