enable api for attached apps