Skip to main content Skip to complementary content

GET /links/cancreate

Find out if current user can create links.

Return an object containing 'canCreateLinks'. If either (or both) of the two parameters are passed, they are included in the test (e.g. does the user have permission to create a link using a specific template app and/or in the context of a specific selection app).

Query parameters

Name Description Type
optTemplateAppId

An optional parameter for specifying the ID of a template app.

String
optSelectAppId

An optional parameter for specifying the ID of a selection app.

String
optDenyIfSelAppNotUpdatable

Optional parameter which allows ODAG client to have OdagService test whether the selection app is not updatable and force a denial for LinkCreate privilege in that case. This parameter will be ignored if OptSelectAppId is not also supplied.

Boolean

Responses

Name Description Type
200

Successful response: see 'canCreateLinks' member of response.

CanCreateLinks

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!